<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<META NAME="GENERATOR" CONTENT="Adobe FrameMaker 7.0/HTML Export Filter">
<LINK REL="STYLESHEET" HREF="PhotoshopFileFormats.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE>Adobe Photoshop File Formats Specification</TITLE>
<style type="text/css">
<!-- 06/25/2009
body {
	margin-left: 0px;
}
-->
</style></HEAD>
<BODY BGCOLOR="#ffffff">
<h1 align="center" CLASS="zCopyright">Adobe  Photoshop</h1>
<h1 align="center" CLASS="zCopyright">File Formats</h1>
<h1 align="center" CLASS="zCopyright">Specification</h1>
<h3 align="center" CLASS="zCopyright">June 2012</h3>
<P CLASS="zCopyright">Copyright &copy; 1991-2012 Adobe Systems Incorporated. All rights reserved.</P>
<P CLASS="zCopyright">Portions Copyright &copy; 1990-1991, Thomas Knoll.</P>
<P CLASS="zCopyright">
The information in this document is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in this document. The software described in this document is furnished under license and may only be used or copied in accordance with the terms of such license.</P>
<P CLASS="zCopyright">
Adobe, After Effects, PhotoDeluxe, Adobe Premiere, Photoshop, Adobe Illustrator, Adobe Type Manager, ATM and PostScript are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apple, Macintosh, and Mac are trademarks of Apple Computer, Inc. registered in the United States and other countries. Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other products are the property of their respective owners.</P>
&nbsp;
<DIV>
<H3 CLASS="GeneratedTitle">Contents</H3>
<DIV>
<H6 CLASS="ChapterTitleNoNumTOC">
<A HREF="PhotoshopFileFormats.htm#50577419_pgfId-27490" CLASS="Index">Preface</A></H6>
<P CLASS="FM1HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577419_pgfId-28729" CLASS="Index">Audience</A></P>
<P CLASS="FM1HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577419_pgfId-28734" CLASS="Index">What Is In This Document</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577419_pgfId-28886" CLASS="Index">SDK User to User Forum</A></P>
<DIV>
<H6 CLASS="ChapterTitleTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1030196" CLASS="Index">The Photoshop File Format</A></H6>
<P CLASS="FM1HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1056424" CLASS="Index">Introduction</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1057388" CLASS="Index">Large Document Format	</A></P>
<P CLASS="FM2HeadTOC"><A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1057422" CLASS="Index">Windows</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1036279" CLASS="Index">Mac OS</A></P>
<P CLASS="FM1HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1036097" CLASS="Index">Photoshop File Format</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1055726" CLASS="Index">File Header Section</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1037450" CLASS="Index">Color Mode Data Section</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1037504" CLASS="Index">Image Resources Section</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1037685" CLASS="Index">Image Resource Blocks</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1037727" CLASS="Index">Image Resource IDs</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1031423" CLASS="Index">Layer and Mask Information Section</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1049436" CLASS="Index">Additional Layer Information</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577409_pgfId-1054855" CLASS="Index">Image Data Section</A></P>
</DIV>
<DIV>
<H6 CLASS="ChapterTitleTOC">
<A HREF="PhotoshopFileFormats.htm#50577413_pgfId-1030196" CLASS="Index">Other Document File Formats</A></H6>
<P CLASS="FM1HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577413_pgfId-1035096" CLASS="Index">Photoshop EPS files</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577413_pgfId-1035272" CLASS="Index">TIFF files</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577413_pgfId-1039502" CLASS="Index">Photoshop-specific TIFF Tags</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577413_pgfId-1038136" CLASS="Index">TIFF Files on Mac OS</A></P>
</DIV>
<DIV>
<H6 CLASS="ChapterTitleTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1058068" CLASS="Index">Additional File Formats</A></H6>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1059252" CLASS="Index">Actions</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1070460" CLASS="Index">Arbitrary Map</A></P>
<P CLASS="FM2HeadTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1070494" CLASS="Index">Single active channels</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1070500" CLASS="Index">CMYK Setup</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1066780" CLASS="Index">Color Books</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1070626" CLASS="Index">Color Table</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1055819" CLASS="Index">Color Swatches</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1056158" CLASS="Index">Contours</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1056330" CLASS="Index">Curves</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1072133" CLASS="Index">Custom Kernel</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1064451" CLASS="Index">Duotone Options</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1056740" CLASS="Index">Halftone Screens</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1056863" CLASS="Index">Hue/Saturation</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1057086" CLASS="Index">Levels</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1070808" CLASS="Index">Monitor Setup</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1065371" CLASS="Index">Replace Color/Color Range</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1057552" CLASS="Index">Selective Color</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1070974" CLASS="Index">Separation Tables</A></P>
<P CLASS="FM1HeadTopTOC">
<A HREF="PhotoshopFileFormats.htm#50577411_pgfId-1071095" CLASS="Index">Transfer Function</A></P>
<P CLASS="Body">&nbsp;
</P>
<P CLASS="Body">&nbsp;
</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H3 CLASS="ChapterTitleNoNum">
<A NAME="50577419_pgfId-27490"></A>Preface</H3>
<P CLASS="Body">
Welcome to the Adobe Photoshop&#174; File Format Specification!</P>
<P CLASS="Body">
This document is the detailed specification of the Adobe Photoshop file format and other pertinent file formats that Adobe Photoshop reads and writes.</P>
<DIV>
<H5 CLASS="FM1Head">
<A NAME="50577419_pgfId-28729"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Audience</H5>
<P CLASS="Body">
This document is provided for 3rd parties to read and write the Photoshop native file format. This document does not explain how to interpret the data. This document describes the format of the data only.</P>
</DIV>
<DIV>
<H5 CLASS="FM1Head">
<A NAME="50577419_pgfId-28734"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
What Is In This Document</H5>
<P CLASS="Body">
This document has three chapters:</P>
<P CLASS="Bullet">
<A HREF="PhotoshopFileFormats.htm#50577409_72092" CLASS="XRef">The Photoshop File Format</A>
 describes the Photoshop <EM CLASS="Bold"> PSD </EM> and <EM CLASS="Bold"> PSB </EM> native file format in detail.</P>
<P CLASS="Bullet">
<A HREF="PhotoshopFileFormats.htm#50577413_61897" CLASS="XRef">Other Document File Formats</A>
 discusses Photoshop's handling of the <EM CLASS="Bold"> EPS </EM> and <EM CLASS="Bold"> TIFF </EM> file formats, which Photoshop can also create and read.</P>
<P CLASS="Bullet">
<A HREF="PhotoshopFileFormats.htm#50577411_20528" CLASS="XRef">Additional File Formats</A>
 describes the formats of other files used by Photoshop to store information about such items as colors, contours, curves, levels and so forth.</P>
<P CLASS="Note">
For more information about file formats, you may wish to consult the <EM CLASS="Italic">
Encyclopedia of Graphics File Formats</EM>
 by James D. Murray &amp; William vanRyper (1994, O'Reilly &amp; Associates, Inc., Sebastopol, CA, ISBN 1-56592-058-9).</P>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577419_pgfId-28886"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
SDK User to User Forum</H4>
<P CLASS="Body">
The Adobe forums web page, <A HREF="http://www.adobe.com/support/forums" CLASS="URL">http://www.adobe.com/support/forums</A>, is also availble for discussion of SDK issues. From the page above follow the Photoshop link and then the Adobe Photoshop Developers link.</P>
<P CLASS="Body">&nbsp;
</P>
</DIV>
</DIV>
<DIV>
<H1 CLASS="ChapterNum">&nbsp;
</H1>
<DIV>
<H3 CLASS="ChapterTitle">
<A NAME="50577409_pgfId-1030196"></A><A NAME="50577409_72092"></A>The Photoshop File Format</H3>
<P CLASS="Body">&nbsp;
</P>
<DIV>
<H5 CLASS="FM1Head">
<A NAME="50577409_pgfId-1056424"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Introduction</H5>
<P CLASS="Body">
This chapter discusses the Photoshop native file format</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Photoshop file types</H6>
</CAPTION>
<TR>
<TH width="98" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="159" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BPS</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.PSD</EM>
</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577409_pgfId-1057388"></A>Large Document Format</H6>
<P CLASS="Body">
The Large Document Format (8BPB/PSB) supports documents up to 300,000 pixels in any dimension. All Photoshop features, such as layers, effects, and filters, are supported by the PSB format. The PSB format is identical to the Photoshop native format in many ways. This document will cover the differences found in the PSB format by donating a **PSB** marker.</P>
</DIV>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577409_pgfId-1057422"></A>Windows</H6>
<P CLASS="Body">
All data is stored in big endian byte order. On the Windows platform, you must byte swap short and long integers when reading or writing.</P>
</DIV>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577409_pgfId-1036279"></A>Mac OS</H6>
<P CLASS="Body">
For cross-platform compatibility, all information needed by Photoshop is stored in the data fork. For interoperability with other Macintosh applications, however, some information is duplicated in resources stored in the resource fork of the file:</P>
<P CLASS="Bullet">
For compatibility with image cataloging applications, the <EM CLASS="Code">
'pnot'</EM>
 resource id 0 contains references to thumbnail, keywords, and caption information stored in other resources. </P>
<P CLASS="Bullet">
The thumbnail picture is stored in a <EM CLASS="Code">
'PICT'</EM>
 resource, the keywords are stored in <EM CLASS="Code">
'STR#'</EM>
 resource 128 and the caption text is stored in <EM CLASS="Code">
'TEXT'</EM>
 resource 128. For more information on the format of these resources see <EM CLASS="Italic">
Inside Macintosh: QuickTime Components</EM>
 and the <EM CLASS="Italic">
Extensis Fetch Awareness Developer's Toolkit</EM>
.</P>
<P CLASS="Bullet">
Photoshop also creates '<EM CLASS="Code">
icl8</EM>
' -16455 and '<EM CLASS="Code">
ICN#</EM>
' -16455 resources containing thumbnail images which will be shown in the Mac OS Finder.</P>
<P CLASS="Bullet">
All of the data from Photoshop's File Info dialog is stored in '<EM CLASS="Code">
ANPA</EM>
' resource 10000. The data in this resource is stored as an IPTC-NAA record 2.For more information on the format of this resource, see the documents in the <EM CLASS="FileName">
IPTC</EM>
 folder of the <EM CLASS="FileName">
Documentation</EM>
 folder.<EM CLASS="FileName">
</EM>
</P>
</DIV>
</DIV>
<DIV>
<H5 CLASS="FM1Head">
<A NAME="50577409_pgfId-1036097"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Photoshop File Format</H5>
<P CLASS="Body">
The Photoshop file format is divided into five major parts, as shown in the <A HREF="PhotoshopFileFormats.htm#50577409_84154" CLASS="XRef">Photoshop file structure</A>. The Photoshop file format has many length markers. Use these length markers to move from one section to the next. The length markers are usually padded with bytes to round to the nearest 2 or 4 byte interval.</P>
<DIV>
<H6 CLASS="FigureTitle">
<A NAME="50577409_84154"></A>Photoshop file structure</H6>
<DIV>
  <div align="center"><IMG SRC="images/PhotoshopFileFormatsStructure.gif"></div>
</DIV>
<P CLASS="StepFirst">
File header (<A HREF="PhotoshopFileFormats.htm#50577409_19840" CLASS="XRef">File Header Section</A>).</P>
<P CLASS="Step">
Color mode data (<A HREF="PhotoshopFileFormats.htm#50577409_71638" CLASS="XRef">Color Mode Data Section</A>)</P>
<P CLASS="Step">
Image resources (<A HREF="PhotoshopFileFormats.htm#50577409_69883" CLASS="XRef">Image Resources Section</A>)</P>
<P CLASS="Step">
Layer and mask information (<A HREF="PhotoshopFileFormats.htm#50577409_75067" CLASS="XRef">Layer and Mask Information Section</A>)</P>
<P CLASS="Step">
Image data (<A HREF="PhotoshopFileFormats.htm#50577409_89817" CLASS="XRef">Image Data Section</A>).</P>
<P CLASS="Body">
The file header has a fixed length; the other four sections are variable in length.</P>
<P CLASS="Body">
When writing one of these sections, you should write all fields in the section, as Photoshop may try to read the entire section. Whenever writing a file and skipping bytes, you should explicitly write zeros for the skipped fields. </P>
<P CLASS="Body">
When reading one of the length-delimited sections, use the length field to decide when you should stop reading. In most cases, the length field indicates the number of bytes, not records, following.</P>
<P CLASS="Note">
The values in &quot;Length&quot; column in all tables are in bytes.</P>
<P CLASS="Note">
All values defined as Unicode strings consist of:</P>
<P CLASS="Bullet2">
A 4-byte length field, representing the number of characters in the string (not bytes).</P>
<P CLASS="Bullet2">
The string of Unicode values, two bytes per character.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577409_pgfId-1055726"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
<A NAME="50577409_19840"></A>File Header Section</H4>
<P CLASS="Body">
The file header contains the basic properties of the image.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_73953"></A>File header section </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length </P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: always equal to <EM CLASS="Code">
'8BPS'</EM>
. Do not try to read the file if the signature does not match this value.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: always equal to 1. Do not try to read the file if the version does not match this value. (**PSB** version is 2.)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Reserved: must be zero.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The number of channels in the image, including any alpha channels. Supported range is 1 to 56.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The height of the image in pixels. Supported range is 1 to 30,000.</P>
<P CLASS="CellBody">
(**PSB** max of 300,000.)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The width of the image in pixels. Supported range is 1 to 30,000.</P>
<P CLASS="CellBody">
(*PSB** max of 300,000)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Depth: the number of bits per channel. Supported values are 1, 8, 16 and 32.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The color mode of the file. Supported values are: Bitmap = 0; Grayscale = 1; Indexed = 2; RGB = 3; CMYK = 4; Multichannel = 7; Duotone = 8; Lab = 9.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577409_pgfId-1037450"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
<A NAME="50577409_71638"></A>Color Mode Data Section</H4>
<P CLASS="Body">
The color mode data section is structured as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color mode data section</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The length of the following color data.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The color data.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
Only indexed color and duotone (see the mode field in the <A HREF="PhotoshopFileFormats.htm#50577409_73953" CLASS="XRef">File header section</A>) have color mode data. For all other modes, this section is just the 4-byte length field, which is set to zero.</P>
<P CLASS="Bullet">
Indexed color images: length is 768; color data contains the color table for the image, in non-interleaved order.</P>
<P CLASS="Bullet">
Duotone images: color data contains the duotone specification (the format of which is not documented). Other applications that read Photoshop files can treat a duotone image as a gray		 image, and just preserve the contents of the duotone information when reading and writing the file.</P>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577409_pgfId-1037504"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
<A NAME="50577409_69883"></A>Image Resources Section</H4>
<P CLASS="Body">
The third section of the file contains image resources. It starts with a length field, followed by a series of resource blocks.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Image resources section</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of image resource section. The length may be zero.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image resources (<A HREF="PhotoshopFileFormats.htm#50577409_46269" CLASS="XRef">Image Resource Blocks</A>
).</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577409_pgfId-1037685"></A><A NAME="50577409_46269"></A>Image Resource Blocks</H6>
<P CLASS="Body">
Image resource blocks are the basic building unit of several file formats, including Photoshop's native file format, JPEG, and TIFF. Image resources are used to store non-pixel data associated with images, such as pen tool paths. </P>
<P CLASS="Note">
They are referred to as resource blocks because they hold data that was stored in the Macintosh's resource fork in early versions of Photoshop.</P>
<P CLASS="Body">
The basic structure of image resource blocks is shown in the <A HREF="PhotoshopFileFormats.htm#50577409_34945" CLASS="XRef">Image resource block</A>. The last field is the data area, which varies by resource type. The makeup of each resource type is described in the following sections.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_34945"></A>Image resource block  </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: <EM CLASS="Code">
'8BIM'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unique identifier for the resource. <A HREF="PhotoshopFileFormats.htm#50577409_38034" CLASS="XRef">Image resource IDs</A> contains a list of resource IDs used by Photoshop.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Name: Pascal string, padded to make the size even (a null name consists of two bytes of 0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Actual size of resource data that follows</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The resource data, described in the sections on the individual resource types. It is padded to make the size even.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577409_pgfId-1037727"></A>Image Resource IDs</H6>
<P CLASS="Body">
Image resources use several standard ID numbers, as shown in the <A HREF="PhotoshopFileFormats.htm#50577409_38034" CLASS="XRef">Image resource IDs</A>. Not all file formats use all ID's. Some information may be stored in other sections of the file.</P>
<P CLASS="Note">
For those resource IDs that have been added since Photoshop 3.0. the entry indicates the version in which they were introduced, e.g. (<EM CLASS="Italic">
Photoshop 6.0).</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_38034"></A>Image resource IDs  </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="2">
<P CLASS="CellHead">
ID</P></TH>
<TH ROWSPAN="2" COLSPAN="1">
<P CLASS="CellHead">
Description</P></TH>
</TR>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Hex</P></TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Decimal</P></TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03E8</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1000</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete--Photoshop 2.0 only</EM>
) Contains five 2-byte values: number of channels, rows, columns, depth, and mode</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03E9</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1001</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Macintosh print manager print info record</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03EB</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1003</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete--Photoshop 2.0 only</EM>
) Indexed color table</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03ED</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1005</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
ResolutionInfo</EM>
 structure</P>
<P CLASS="CellBody">
See Appendix A in <EM CLASS="FileName">
Photoshop API Guide.pdf</EM>
. </P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03EE</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1006</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Names of the alpha channels as a series of Pascal strings.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03EF</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1007</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
(Obsolete) See ID 1077</EM></P>
<P CLASS="CellBody">
<EM CLASS="Code">
DisplayInfo</EM>
 structure</P>
<P CLASS="CellBody">
See Appendix A in <EM CLASS="FileName">
Photoshop API Guide.pdf</EM>
.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F0</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1008</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The caption as a Pascal string.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F1</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1009</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Border information</P>
<P CLASS="CellBody">
Contains a fixed number (2 bytes real, 2 bytes fraction) for the border width, and 2 bytes<EM CLASS="CheckThis">
 </EM>
for border units (1 = inches, 2 = cm, 3 = points, 4 = picas, 5 = columns).</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F2</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1010</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Background color.</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577411_31265" CLASS="XRef">See Color structure</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F3</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1011</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Print flags</P>
<P CLASS="CellBody">
A series of one-byte boolean values (see <EM CLASS="LangName">
Page Setup</EM>
 dialog): labels, crop marks, color bars, registration marks, negative, flip, interpolate, caption, print flags.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F4</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1012</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Grayscale and multichannel halftoning information</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F5</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1013</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color halftoning information</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F6</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1014</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Duotone halftoning information</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F7</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1015</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Grayscale and multichannel transfer function</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F8</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1016</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color transfer functions</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03F9</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1017</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Duotone transfer functions</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03FA</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1018</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Duotone image information</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03FB</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1019</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Two bytes for the effective black and white values for the dot range</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03FC</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1020</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete)</EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03FD </P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1021</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EPS options</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03FE</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1022</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Quick Mask information</P>
<P CLASS="CellBody">
2 bytes containing Quick Mask channel ID; 1- byte boolean indicating whether the mask was initially empty.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x03FF</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1023</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete)</EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0400</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1024</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layer state information</P>
<P CLASS="CellBody">
2 bytes containing the index of target layer (0 = bottom layer).</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0401</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1025</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Working path (not saved)</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_17587" CLASS="XRef">See Path resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0402</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1026</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layers group information</P>
<P CLASS="CellBody">
2 bytes per layer containing a group ID for the dragging groups. Layers in a group have the same group ID.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0403</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1027</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete)</EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0404</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1028</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
IPTC-NAA record</P>
<P CLASS="CellBody">
Contains the <EM CLASS="LangName">
File Info...</EM>
 information. See the documentation in the <EM CLASS="FileName">
IPTC </EM>
folder of the <EM CLASS="FileName">
Documentation</EM>
 folder. </P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0405</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1029</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image mode for raw format files</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0406</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1030</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
JPEG quality. Private.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0408</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1032</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 4.0) </EM>
Grid and guides information</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_62190" CLASS="XRef">See Grid and guides resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0409</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1033</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 4.0) </EM>
Thumbnail resource for Photoshop 4.0 only</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_74450" CLASS="XRef">See Thumbnail resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x040A</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1034</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 4.0) </EM>
Copyright flag</P>
<P CLASS="CellBody">
Boolean indicating whether image is copyrighted. Can be set via Property suite or by user in <EM CLASS="LangName">
File Info...</EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x040B</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1035</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 4.0) </EM>
URL</P>
<P CLASS="CellBody">
Handle of a text string with uniform resource locator. Can be set via Property suite or by user in <EM CLASS="LangName">
File Info...</EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x040C</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1036</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>
Thumbnail resource (supersedes resource 1033)</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_74450" CLASS="XRef">See Thumbnail resource format</A>. </P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x040D</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1037</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete) See ID 1073</EM></P>
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>Global Angle</P>
<P CLASS="CellBody">
4 bytes that contain an integer between 0 and 359, which is the global lighting angle for effects layer. If not present, assumed to be 30.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x040E</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1038</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Obsolete) See ID 1073 below.</EM></P>
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>Color samplers resource</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_13931" CLASS="XRef">See Color samplers resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x040F</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1039</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>ICC Profile</P>
<P CLASS="CellBody">
The raw bytes of an ICC (International Color Consortium) format profile. See <EM CLASS="FileName">
ICC1v42_2006-05.pdf</EM>
 in the <EM CLASS="FileName">
Documentation</EM>
 folder and <EM CLASS="FileName">
icProfileHeader.h</EM>
 in <EM CLASS="FileName">
Sample Code&#92;Common&#92;Includes</EM>
.<EM CLASS="FileName">
</EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0410</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1040</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>Watermark</P>
<P CLASS="CellBody">
One byte. </P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0411</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1041</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody"><EM CLASS="Italic">(Photoshop 5.0) </EM>ICC Untagged Profile</P>
<P CLASS="CellBody">1 byte that disables any assumed profile handling when opening the file. 1 = intentionally untagged.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0412</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1042</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>Effects visible</P>
<P CLASS="CellBody">
1-byte global flag to show/hide all the effects layer. Only present when they are hidden.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0413</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1043</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>
Spot Halftone</P>
<P CLASS="CellBody">
4 bytes for version, 4 bytes for length, and the variable length data.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0414</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1044</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>
Document-specific IDs seed number</P>
<P CLASS="CellBody">
4 bytes: Base value, starting at which layer IDs will be generated (or a greater value if existing IDs already exceed it). Its purpose is to avoid the case where we add layers, flatten, save, open, and then add more layers that end up with the same IDs as the first set.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0415</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1045</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 5.0) </EM>
Unicode Alpha Names</P>
<P CLASS="CellBody">
Unicode string (4 bytes length followed by string).</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x0416</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1046</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Indexed Color Table Count</P>
<P CLASS="CellBody">
2 bytes for the number of colors in table that are actually defined</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x0417</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1047</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Transparency Index.</P>
<P CLASS="CellBody">
2 bytes for the index of transparent color, if any.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x0419</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1049</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Global Altitude</P>
<P CLASS="CellBody">
4 byte entry for altitude</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x041A</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1050</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Slices</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_19931" CLASS="XRef">See Slices resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x041B</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1051</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Workflow URL</P>
<P CLASS="CellBody">
Unicode string</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x041C</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1052</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Jump To XPEP</P>
<P CLASS="CellBody">
2 bytes major version, 2 bytes minor version, 4 bytes count. Following is repeated for count: 4 bytes block size, 4 bytes key, if key = <EM CLASS="Code">
'jtDd'</EM>
, then next is a Boolean for the dirty flag; otherwise it's a 4 byte entry for the mod date.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x041D</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1053</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Alpha Identifiers</P>
<P CLASS="CellBody">
4 bytes of length, followed by 4 bytes each for every alpha identifier.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x041E</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1054</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 URL List</P>
<P CLASS="CellBody">
4 byte count of URLs, followed by 4 byte long, 4 byte ID, and Unicode string for each count.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
0x0421</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<BR>
1057</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 6.0)</EM>
 Version Info</P>
<P CLASS="CellBody">
4 bytes version, 1 byte <EM CLASS="Code">
hasRealMergedData</EM>
, Unicode string: writer name, Unicode string: reader name, 4 bytes file version.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0422</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1058</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 7.0)</EM>
 EXIF data 1</P>
<P CLASS="CellBody">
See <EM CLASS="HypertextLink">
<A HREF="http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf" CLASS="URL">http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf</A></EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0423</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1059</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 7.0)</EM>
 EXIF data 3</P>
<P CLASS="CellBody">
See <EM CLASS="HypertextLink">
<A HREF="http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf" CLASS="URL">http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf</A></EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0424</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1060</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 7.0)</EM>
 XMP metadata</P>
<P CLASS="CellBody">
File info as XML description. See <EM CLASS="HypertextLink">
<A HREF="http://www.adobe.com/devnet/xmp/" CLASS="URL">http://www.adobe.com/devnet/xmp/</A></EM></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0425</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1061</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 7.0)</EM>
 Caption digest</P>
<P CLASS="CellBody">
16 bytes: RSA Data Security, MD5 message-digest algorithm</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0426</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1062</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 7.0)</EM>
 Print scale</P>
<P CLASS="CellBody">
2 bytes style (0 = centered, 1 = size to fit, 2 = user defined). 4 bytes x location (floating point). 4 bytes y location (floating point). 4 bytes scale (floating point)</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0428</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1064</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop CS)</EM>
 Pixel Aspect Ratio</P>
<P CLASS="CellBody">
4 bytes (version = 1 or 2), 8 bytes double, x / y of a pixel. Version 2, attempting to correct values for NTSC and PAL, previously off by a factor of approx. 5%.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0429</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1065</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop CS)</EM>
 Layer Comps</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x042A</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1066</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop CS)</EM>
 Alternate Duotone Colors</P>
<P CLASS="CellBody">
2 bytes (version = 1), 2 bytes count, following is repeated for each count: [ Color: 2 bytes for space followed by 4 * 2 byte color component ], following this is another 2 byte count, usually 256, followed by Lab colors one byte each for L, a, b</P>
<P CLASS="CellBody">
This resource is not read or used by Photoshop.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x042B</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1067</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop CS)</EM>Alternate Spot Colors</P>
<P CLASS="CellBody">
2 bytes (version = 1), 2 bytes channel count, following is repeated for each count: 4 bytes channel ID, Color: 2 bytes for space followed by 4 * 2 byte color component</P>
<P CLASS="CellBody">
This resource is not read or used by Photoshop.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x042D</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1069</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<a name="50577409_pgfId-1059309"></a><em>(Photoshop CS2)</em> Layer Selection ID(s)</P>
<P CLASS="CellBody">
2 bytes count, following is repeated for each count: 4 bytes layer ID</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x042E</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1070</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS2)</em> HDR Toning information</P></TD>
</TR>
<TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x042F</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1071</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS2)</em> Print info</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0430</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1072</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS2)</em> Layer Group(s) Enabled ID</P>
<P CLASS="CellBody">
1 byte for each layer in the document, repeated by length of the resource. NOTE: Layer groups have start and end markers</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0431</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1073</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em> Color samplers resource. Also see ID 1038 for old format.</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_13931" CLASS="XRef">See Color samplers resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0432</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1074</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em> Measurement Scale</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0433</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1075</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em> Timeline Information</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0434</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1076</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em> Sheet Disclosure</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0435</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1077</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em><EM CLASS="Code">
DisplayInfo</EM>
 structure to support floating point clors. Also see ID 1007.</P>
<P CLASS="CellBody">
See Appendix A in <EM CLASS="FileName">
Photoshop API Guide.pdf</EM>
.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0436</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1078</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em> Onion Skins</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0438</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1080</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS4)</em> Count Information</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>) Information about the count in the document. See the Count Tool.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x043A</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1082</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS5)</em> Print Information</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>) Information about the current print settings in the document. The color management options.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x043B</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1083</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS5)</em> Print Style</P>
<P CLASS="CellBody">
4 bytes (descriptor version = 16), Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>) Information about the current print style in the document. The printing marks, labels, ornaments, etc.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x043C</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1084</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS5)</em> Macintosh NSPrintInfo</P>
<P CLASS="CellBody">
Variable OS specific info for Macintosh. NSPrintInfo. It is recommened that you do not interpret or use this data.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x043D</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1085</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS5)</em> Windows DEVMODE</P>
<P CLASS="CellBody">
Variable OS specific info for Windows. DEVMODE. It is recommened that you do not interpret or use this data.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x043E</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1086</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS6)</em> Auto Save File Path</P>
<P CLASS="CellBody">
Unicode string. It is recommened that you do not interpret or use this data.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x043F</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1087</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS6)</em> Auto Save Format</P>
<P CLASS="CellBody">
Unicode string. It is recommened that you do not interpret or use this data.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x07D0-0x0BB6</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2000-2997</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Path Information (saved paths)</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_17587" CLASS="XRef">See Path resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0BB7</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2999</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Name of clipping path</P>
<P CLASS="CellBody">
See <A HREF="PhotoshopFileFormats.htm#50577409_17587" CLASS="XRef">See Path resource format</A>.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x0FA0-0x1387</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4000-4999</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Plug-In resource(s). Resources added by a plug-in. See the plug-in API found in the SDK documentation</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x1B58</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
7000</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image Ready variables</P>
<P CLASS="CellBody">
XML representation of variables definition</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x1B59</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
7001</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image Ready data sets</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x1F40</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8000</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<em>(Photoshop CS3)</em> Lightroom workflow, if present the document is in the middle of a Lightroom workflow.</P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0x2710</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10000</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Print flags information</P>
<P CLASS="CellBody">
2 bytes version ( = 1), 1 byte center crop marks, 1 byte ( = 0), 4 bytes bleed width value, 2 bytes bleed width scale.</P></TD>
</TR>
</TABLE>
<P CLASS="Body">
The following sections describe some of the resource formats in more detail.</P>
<P CLASS="FM3Head">
<A NAME="50577409_62190"></A>Grid and guides resource format</P>
<P CLASS="Body">
Photoshop stores grid and guides information for an image in an image resource block. Each of these resource blocks consists of an initial 16-byte grid and guide header, which is always present, followed by 5-byte blocks of specific guide information for guide direction and location, which are present if there are guides (<EM CLASS="Code">
fGuideCount</EM>
 &gt; 0) .</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Grid and guide header </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Future implementation of document-specific grids (4 bytes horizontal, 4 bytes vertical). Currently, sets the grid cycle to every quarter inch, i.e. 576 for both horizontal &amp; vertical (at 72 dpi, that is 18 * 32 = 576)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
fGuideCount</EM>
: Number of guide resource blocks (can be 0).</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Guide resource block</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Location of guide in document coordinates. Since the guide is either vertical or horizontal, this only has to be one component of the coordinate.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 </P>
<P CLASS="CellBody">
VHSelect</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Direction of guide. VHSelect is a system type of <EM CLASS="Code">
unsigned char</EM>
 where 0 = vertical, 1 = horizontal.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
Grid and guide information may be modified using the Property suite. See the Callbacks chapter in <EM CLASS="FileName">
Photoshop API Guide.pdf</EM>
 for more information.</P>
<P CLASS="FM3Head">
<A NAME="50577409_74450"></A>Thumbnail resource format</P>
<P CLASS="Body">
Adobe Photoshop (version 5.0 and later) stores thumbnail information for preview display in an image resource block that consists of an initial 28-byte header, followed by a JFIF thumbnail in RGB (red, green, blue) order for both Macintosh and Windows. </P>
<P CLASS="Note">
Adobe Photoshop 4.0 stored the thumbnail information in the same format except the data section is BGR (blue, green, red). The 4.0 format is at resource ID 1033 and the 5.0 format is at resource ID 1036. </P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Thumbnail resource header </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Format. 1 = kJpegRGB . Also supports kRawRGB (0).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Width of thumbnail in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Height of thumbnail in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Widthbytes: Padded row bytes = (width * bits per pixel + 31) / 32 * 4.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Total size = widthbytes * height * planes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size after compression. Used for consistency check.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Bits per pixel. = 24</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of planes. = 1</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
JFIF data in RGB format.</P>
<P CLASS="CellNote">
For resource ID 1033 the data is in BGR format.</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
<A NAME="50577409_13931"></A>Color samplers resource format</P>
<P CLASS="Body">
Adobe Photoshop (version 5.0 and later) stores color samplers information for an image in an image resource block that consists of an initial 8-byte color samplers header followed by a variable length block of specific color samplers information.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color Samplers header </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1, 2 or 3)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of color samplers to follow. See <A HREF="PhotoshopFileFormats.htm#50577409_20023" CLASS="XRef">See Color Samplers resource block</A>.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_20023"></A>Color Samplers resource block</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version of color samplers, 1 for version 3. ( Version 3 only ) .</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The horizontal and vertical position of the point (4 bytes each). Version 1 is a fixed value. Version 2 is a float value.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P></TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color Space: enum { colorCodeDummy = -1, RGB, HSB, CMYK, Pantone, Focoltone, Trumatch, Toyo, Lab, Gray, WideCMYK, HKS, DIC, TotalInk, MonitorRGB, Duotone, Opacity, Web, GrayFloat, RGBFloat, OpacityFloat};</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Depth ( Version 2 only )</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
<A NAME="50577409_17587"></A>Path resource format</P>
<P CLASS="Body">
Photoshop stores the paths saved with an image in an image resource block. These resource blocks consist of a series of 26-byte path point records, so the resource length should always be a multiple of 26.</P>
<P CLASS="Body">
Photoshop stores its paths as resources of type <EM CLASS="Code">
8BIM</EM>
, with IDs in the range 2000 through 2997. These numbers should be reserved for Photoshop. The name of the resource is the name given to the path when it was saved.</P>
<P CLASS="Body">
If the file contains a resource of type <EM CLASS="Code">
8BIM</EM>
 with an ID of 2999, then this resource contains a Pascal-style string containing the name of the clipping path to use with this image when saving it as an EPS file.
    4 byte fixed value for flatness and 2 byte fill rule. 0 = same fill rule, 1 =
    even odd fill rule, 2 = non zero winding fill rule. The fill rule is ignored by
    Photoshop.</P>
<P CLASS="Body">
The path format returned by <EM CLASS="Code">
GetProperty()</EM>
 call is identical to what is described below. Refer to the <EM CLASS="FileName">
IllustratorExport</EM>
 sample plug-in code to see how this resource data is constructed.</P>
<P CLASS="FM3Head">
Path points</P>
<P CLASS="Body">
All points used in defining a path are stored in eight bytes as a pair of 32-bit components, vertical component first.</P>
<P CLASS="Body">
The two components are signed, fixed point numbers with 8 bits before the binary point and 24 bits after the binary point. Three guard bits are reserved in the points to eliminate most concerns over arithmetic overflow. Hence, the range for each component is <EM CLASS="Code">
0xF0000000</EM>
 to <EM CLASS="Code">
0x0FFFFFFF</EM>
 representing a range of -16 to 16. The lower bound is included, but not the upper bound.</P>
<P CLASS="Body">
This limited range is used because the points are expressed relative to the image size. The vertical component is given with respect to the image height, and the horizontal component is given with respect to the image width. [<EM CLASS="Code">
0,0</EM>
] represents the top-left corner of the image; [<EM CLASS="Code">
1,1</EM>
] ([<EM CLASS="Code">
0x01000000,0x01000000</EM>
]) represents the bottom-right.</P>
<P CLASS="Body">
In Windows, the byte order of the path point components are reversed; you should swap the bytes when accessing each 32-bit value.</P>
<P CLASS="FM3Head">
Path records</P>
<P CLASS="Body">
The data in a path resource consists of one or more 26-byte records. The first two bytes of each record is a selector to indicate what kind of path it is. For Windows, you should swap the bytes before accessing it as a short.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Path data record types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Selector</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Closed subpath length record</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Closed subpath Bezier knot, linked</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Closed subpath Bezier knot, unlinked</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Open subpath length record</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Open subpath Bezier knot, linked</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
5</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Open subpath Bezier knot, unlinked</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Path fill rule record</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
7</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Clipboard record</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Initial fill rule record</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
The first 26-byte path record contains a selector value of 6, path fill rule record. The remaining 24 bytes of the first record are zeroes. Paths use even/odd ruling. Subpath length records, selector value 0 or 3, contain the number of Bezier knot records in bytes 2 and 3. The remaining 22 bytes are unused, and should be zeroes. Each length record is then immediately followed by the Bezier knot records describing the knots of the subpath.</P>
<P CLASS="Body">
In Bezier knot records, the 24 bytes following the selector field contain three path points (described above) for:</P>
<P CLASS="StepFirst">
the control point for the Bezier segment preceding the knot,</P>
<P CLASS="Step">
	the anchor point for the knot, and</P>
<P CLASS="Step">
	the control point for the Bezier segment leaving the knot.</P>
<P CLASS="Body">
Linked knots have their control points linked. Editing one point modifies the other to preserve collinearity. Knots should only be marked as having linked controls if their control points are collinear with their anchor. The control points on unlinked knots are independent of each other. Refer to the <EM CLASS="Italic">
Adobe Photoshop User Guide</EM>
 for more information.</P>
<P CLASS="Body">
Clipboard records, <EM CLASS="Code">
selector=7</EM>
, contain four fixed-point numbers for the bounding rectangle (top, left, bottom, right), and a single fixed-point number indicating the resolution.</P>
<P CLASS="Body">
Initial fill records, <EM CLASS="Code">
selector=8</EM>
, contain one two byte record. A value of 1 means that the fill starts with all pixels. The value will be either 0 or 1.</P>
<P CLASS="FM3Head">
<A NAME="50577409_19931"></A>Slices resource format</P>
<P CLASS="Body">
Adobe Photoshop 6.0 and later stores slices information for an image in an image resource block. .</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Slices header </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 6)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Bounding rectangle for all of the slices: top, left, bottom, right of all the slices</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Name of group of slices: Unicode string </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of slices to follow. See Slices resource block in the next table.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Slices resource block</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Group ID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Origin</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Associated Layer ID </P>
<P CLASS="CellNote">
Only present if Origin = 1</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Name: Unicode string<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Left, top, right, bottom positions</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
URL: Unicode string </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Target: Unicode string</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Message: Unicode string</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Alt Tag: Unicode string</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Cell text is HTML: Boolean</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Cell text: Unicode string</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Horizontal alignment</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Vertical alignment</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Alpha color</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Red</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Green</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blue</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Vanishing point resource format</P>
<P CLASS="Body">
Adobe Photoshop CS2 (9.0) and later stores vanishing point information for an image in an image resource block. The entire resource is a string with an id of `tnaF' on Windows and `FaNt' on the Macintosh. The structure of the resource is as follows:</P>
<P CLASS="Body">&nbsp;
</P>
<P CLASS="Body">
Vocabulary:</P>
<P CLASS="Body">
Relation - a set of related planes.</P>
<P CLASS="Body">
Root Plane - the first plane in a relation.</P>
<P CLASS="Body">
Calibration Order - an ordering of the planes in a relation starting with the root plane, depth first, recursive traversal of the planes that are attached to the given plane.</P>
<P CLASS="Body">&nbsp;
</P>
<P CLASS="Body">
Basics:</P>
<P CLASS="Body">
A planes area is represented as a clipped area of vanish rays.  A Ray defines one of the virtual sides of the plane's area.  A Ray's structure keeps track of information needed for tearing off and orientation issues.  Parallel rays must point at the same VPID.  A Primary ray's origin represents the point on the plane that is farthest from both VPs.  The two primary rays share an origin.</P>
<P CLASS="Body">&nbsp;
</P>
<P CLASS="Code">
version = 101</P>
<P CLASS="Code">
number of relations to follow.</P>
<P CLASS="Code">
-- for each relation--</P>
<P CLASS="Code">
	grid resolution for the root plane</P>
<P CLASS="Code">
	number of planes to follow</P>
<P CLASS="Code">
	-- for each plane in calibration order--</P>
<P CLASS="Code">
		ID of the plane</P>
<P CLASS="Code">
		ID of the plane that calibrates this plane 0 if none</P>
<P CLASS="Code">
		-- for 4 rays --</P>
<P CLASS="Code">
			origin position of the ray. Point</P>
<P CLASS="Code">
			VP location - must be consistent across all planes in the relation unless it is an endpoint. Point</P>
<P CLASS="Code">
			true if the VP location is an endpoint</P>
<P CLASS="Code">
			ID that this ray points at.</P>
<P CLASS="Code">
			Ray DI (see below) </P>
<P CLASS="Code">&nbsp;
</P>
<P CLASS="Code">&nbsp;
</P>
<P CLASS="Code">
++++++++++++++++++++</P>
<P CLASS="Code">
I/O appendix</P>
<P CLASS="Code">
Point - two doubles; h endl, v endl</P>
<P CLASS="Code">
VPID - int (enum value) 0,1,2 identifing 1 of 3 possible VPs</P>
<P CLASS="Code">
RayID - 1, One of the primary rays directly connected to the shared origin </P>
<P CLASS="Code">
	3, a non-primary ray parallel to 7</P>
<P CLASS="Code">
	5, a non-primary ray parallel to 1</P>
<P CLASS="Code">
	7, One of the primary rays directly connected to the shared origin .</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577409_pgfId-1031423"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
<A NAME="50577409_75067"></A>Layer and Mask Information Section</H4>
<P CLASS="Body">
The fourth section of a Photoshop file contains information about layers and masks. This section of the document describes the formats of layer and mask records.</P>
<P CLASS="Note">
The complete merged image data is not stored here. The complete merged/composite image resides in the last section of the file. See <A HREF="PhotoshopFileFormats.htm#50577409_89817" CLASS="XRef">See Image Data Section</A>. If maximize compatibility is unchecked then the merged/composite is not created and the layer data must be read to reproduce the final image.</P>
<P CLASS="Body">
<A HREF="PhotoshopFileFormats.htm#50577409_21849" CLASS="XRef">See Layer and mask information section</A> shows the overall structure of this section. If there are no layers or masks, this section is just 4 bytes: the length field, which is set to zero. (**PSB** length is 8 bytes </P>
<P CLASS="Body">
`Layr', `Lr16' and 'Lr32' start at <A HREF="PhotoshopFileFormats.htm#50577409_16000" CLASS="XRef">See Layer info</A>. NOTE: The length of the section may already be known.)</P>
<P CLASS="Body">When parsing this section pay close attention to the length of sections.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_21849"></A>Layer and mask information section</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the layer and mask information section. (**PSB** length is 8 bytes.)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layer info (see <A HREF="PhotoshopFileFormats.htm#50577409_16000" CLASS="XRef">See Layer info</A> for details).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Global layer mask info (see <A HREF="PhotoshopFileFormats.htm#50577409_17115" CLASS="XRef">See Global layer mask info</A> for details).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Photoshop 4.0 and later)</EM>
</P>
<P CLASS="CellBody">
Series of tagged blocks containing various types of data. See <EM CLASS="Xref">
<A HREF="PhotoshopFileFormats.htm#50577409_71546" CLASS="XRef">See Additional Layer Information</A></EM>
<EM CLASS="CheckThis">
 </EM>
for the list of the types of data that can be included here.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
<A HREF="PhotoshopFileFormats.htm#50577409_16000" CLASS="XRef">See Layer info</A> shows the high-level organization of the layer information.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_16000"></A>Layer info </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the layers info section, rounded up to a multiple of 2. (**PSB** length is 8 bytes.)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layer count. If it is a negative number, its absolute value is the number of layers and the first alpha channel contains the transparency data for the merged result.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Information about each layer. <A HREF="PhotoshopFileFormats.htm#50577409_13084" CLASS="XRef">See Layer records</A> describes the structure of this information for each layer.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Channel image data. Contains one or more image data records (see <A HREF="PhotoshopFileFormats.htm#50577409_26431" CLASS="XRef">See Channel image data</A> for structure) for each layer. The layers are in the same order as in the layer information (previous row of this table).</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_13084"></A>Layer records  </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Rectangle containing the contents of the layer. Specified as top, left, bottom, right coordinates</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of channels in the layer </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6 *</P>
<P CLASS="CellBody">
number of channels</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Channel information. Six bytes per channel, consisting of:</P>
<P CLASS="CellBody">
2 bytes for Channel ID: 0 = red, 1 = green, etc.; </P>
<P CLASS="CellBody">
-1 = transparency mask; -2 = user supplied layer mask, -3 real user supplied layer mask (when both a user mask and a vector mask are present)</P>
<P CLASS="CellBody">
4 bytes for length of corresponding channel data. (**PSB** 8 bytes for length of corresponding channel data.) See <EM CLASS="Xref">
<A HREF="PhotoshopFileFormats.htm#50577409_26431" CLASS="XRef">See Channel image data</A></EM>
 for structure of channel data.<EM CLASS="Xref">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend mode signature: <EM CLASS="Code">
'8BIM'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend mode key:</P>
<P CLASS="CellBody"><P CLASS="Code-Follow">
'pass' = pass through,
'norm' = normal,
'diss' = dissolve,
'dark' = darken,
'mul ' = multiply,
'idiv' = color burn,
'lbrn' = linear burn,
'dkCl' = darker color,
'lite' = lighten,
'scrn' = screen,
'div ' = color dodge,
'lddg' = linear dodge,
'lgCl' = lighter color,
'over' = overlay,
'sLit' = soft light,
'hLit' = hard light,
'vLit' = vivid light,
'lLit' = linear light,
'pLit' = pin light,
'hMix' = hard mix,
'diff' = difference,
'smud' = exclusion,
'fsub' = subtract,
'fdiv' = divide
'hue ' = hue,
'sat ' = saturation,
'colr' = color,
'lum ' = luminosity,
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity. 0 = transparent ... 255 = opaque</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Clipping: 0 = base, 1 = non-base</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Flags:</P>
<P CLASS="CellBody">
bit 0 = transparency protected; bit 1 = visible; bit 2 = obsolete;</P>
<P CLASS="CellBody">
bit 3 = 1 for Photoshop 5.0 and later, tells if bit 4 has useful information;</P>
<P CLASS="CellBody">
bit 4 = pixel data irrelevant to appearance of document</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Filler (zero)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the extra data field ( = the total length of the next five fields).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layer mask data: See <A HREF="PhotoshopFileFormats.htm#50577409_22582" CLASS="XRef">See Layer mask / adjustment layer data</A> for structure. Can be 40 bytes, 24 bytes, or 4 bytes if no layer mask.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layer blending ranges: See <A HREF="PhotoshopFileFormats.htm#50577409_21332" CLASS="XRef">See Layer blending ranges data</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Layer name: Pascal string, padded to a multiple of 4 bytes.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_22582"></A>Layer mask / adjustment layer data</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Name</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size of the data: 36, 20, or 0. If zero, the following fields are not present</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Rectangle enclosing layer mask: Top, left, bottom, right</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Default color. 0 or 255</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Flags. </P>
<P CLASS="CellBody">
bit 0 = position relative to layer<BR>
bit 1 = layer mask disabled<BR>
bit 2 = invert layer mask when blending</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding. Only present if size = 20. Otherwise the following is present</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Real Flags. Same as Flags information above.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Real user mask background. 0 or 255.</P>
<P CLASS="CellBody">
Same as Flags information above.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Rectangle enclosing layer mask: Top, left, bottom, right.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_21332"></A>Layer blending ranges data </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Name</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of layer blending ranges data</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Composite gray blend source. Contains 2 black values followed by 2 white values. Present but irrelevant for Lab &amp; Grayscale.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Composite gray blend destination range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
First channel source range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
First channel destination range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Second channel source range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Second channel destination range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
...</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
...</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Nth channel source range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Nth channel destination range</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_26431"></A>Channel image data</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Compression. 0 = Raw Data, 1 = RLE compressed, 2 = ZIP without prediction, 3 = ZIP with prediction.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image data.</P>
<P CLASS="CellBody">
If the compression code is 0, the image data is just the raw image data, whose size is calculated as <EM CLASS="Code">
(LayerBottom-LayerTop)* (LayerRight-LayerLeft)</EM>
 (from the first field in <A HREF="PhotoshopFileFormats.htm#50577409_13084" CLASS="XRef">See Layer records</A>). </P>
<P CLASS="CellBody">
If the compression code is 1, the image data starts with the byte counts for all the scan lines in the channel <EM CLASS="Code">
(LayerBottom-LayerTop)</EM>
, with each count stored as a two-byte value.(**PSB** each count stored as a four-byte value.) The RLE compressed data follows, with each scan line compressed separately. The RLE compression is the same compression algorithm used by the Macintosh ROM routine PackBits, and the TIFF standard.</P>
<P CLASS="CellBody">
If the layer's size, and therefore the data, is odd, a pad byte will be inserted at the end of the row.</P>
<P CLASS="CellBody">
If the layer is an adjustment layer, the channel data is undefined (probably all white.)</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_17115"></A>Global layer mask info  </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of global layer mask info section.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Overlay color space (undocumented).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 2 byte color components</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity. 0 = transparent, 100 = opaque.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Kind. 0 = Color selected--i.e. inverted; 1 = Color protected;128 = use value stored per layer. This value is preferred. The others are for backward compatibility with beta versions.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Filler: zeros</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577409_pgfId-1049436"></A><A NAME="50577409_71546"></A>Additional Layer Information</H6>
<P CLASS="Body">
There are several types of layer information that have been added in Photoshop 4.0 and later. These exist at the end of the layer records structure (see the last row of <A HREF="PhotoshopFileFormats.htm#50577409_13084" CLASS="XRef">See Layer records</A>). They have the following structure:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Additional layer information</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: <EM CLASS="Code">
'8BIM'</EM> or
<EM CLASS="Code">'8B64'</EM></P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key: a 4-character code (See individual sections)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length data below, rounded up to an even byte count.</P>
<P CLASS="CellBody">
(**PSB**, the following keys have a length count of 8 bytes: LMsk, Lr16, Lr32, Layr, Mt16, Mt32, Mtrn, Alph, FMsk, lnk2, FEid, FXid, PxSD.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Data (See individual sections)</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
The following sections describe the different types of data available, their keys and their format.</P>
<P CLASS="FM3Head">
Adjustment layer <EM CLASS="Italic">
(Photoshop 4.0)</EM>
</P>
<P CLASS="Body">
Adjustment layers can have one of the following keys:</P>
<P CLASS="Bullet">'<EM CLASS="Code">SoCo</EM>' = Solid Color</P>
<P CLASS="Bullet">'<EM CLASS="Code">GdFl</EM>' = Gradient</P>
<P CLASS="Bullet">'<EM CLASS="Code">PtFl</EM>' = Pattern</P>
<P CLASS="Bullet">'<EM CLASS="Code">brit</EM>' = Brightness/Contrast</P>
<P CLASS="Bullet">'<EM CLASS="Code">levl</EM>' = Levels</P>
<P CLASS="Bullet">'<EM CLASS="Code">curv</EM>' = Curves</P>
<P CLASS="Bullet">'<EM CLASS="Code">expA</EM>' = Exposure</P>
<P CLASS="Bullet">'<EM CLASS="Code">vibA</EM>' = Vibrance</P>
<P CLASS="Bullet">'<EM CLASS="Code">hue </EM>' = Old Hue/saturation, Photoshop 4.0</P>
<P CLASS="Bullet">'<EM CLASS="Code">hue2</EM>' = New Hue/saturation, Photoshop 5.0</P>
<P CLASS="Bullet">'<EM CLASS="Code">blnc</EM>' = Color Balance</P>
<P CLASS="Bullet">'<EM CLASS="Code">blwh</EM>' = Black and White</P>
<P CLASS="Bullet">'<EM CLASS="Code">phfl</EM>' = Photo Filter</P>
<P CLASS="Bullet">'<EM CLASS="Code">mixr</EM>' = Channel Mixer</P>
<P CLASS="Bullet">'<EM CLASS="Code">clrL</EM>' = Color Lookup</P>
<P CLASS="Bullet">'<EM CLASS="Code">nvrt</EM>' = Invert</P>
<P CLASS="Bullet">'<EM CLASS="Code">post</EM>' = Posterize</P>
<P CLASS="Bullet">'<EM CLASS="Code">thrs</EM>' = Threshold</P>
<P CLASS="Bullet">'<EM CLASS="Code">grdm</EM>' = Gradient Map</P>
<P CLASS="Bullet">'<EM CLASS="Code">selc</EM>' = Selective color</P>
<P CLASS="Bullet">&nbsp;</P>
<P CLASS="Body">
The data for the adjustment layer is the same as the load file formats for each format. See <A HREF="PhotoshopFileFormats.htm#50577411_20528" CLASS="XRef">See Additional File Formats</A> for information.</P>
<P CLASS="FM3Head">
Effects Layer <EM CLASS="Italic">
(Photoshop 5.0)</EM>
</P>
<P CLASS="Body">
The key for the effects layer is <EM CLASS="Code">
'lrFX'</EM>
. The data has the following format:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Effects Layer info</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Effects count: may be 6 (for the 6 effects in Photoshop 5 and 6) or 7 (for Photoshop 7.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The next three items are repeated for each of the effects.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: <EM CLASS="Code">
'8BIM'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Effects signatures: OSType key for which effects type to use:</P>
<P CLASS="CellBody">
'cmnS' = common state (see <A HREF="PhotoshopFileFormats.htm#50577409_41831" CLASS="XRef">See Effects layer, common state info</A>)</P>
<P CLASS="CellBody">
'dsdw' = drop shadow (see <A HREF="PhotoshopFileFormats.htm#50577409_22203" CLASS="XRef">See Effects layer, drop shadow and inner shadow info</A>)</P>
<P CLASS="CellBody">
'isdw' = inner shadow (see <A HREF="PhotoshopFileFormats.htm#50577409_22203" CLASS="XRef">See Effects layer, drop shadow and inner shadow info</A>)</P>
<P CLASS="CellBody">
'oglw' = outer glow (see <A HREF="PhotoshopFileFormats.htm#50577409_25738" CLASS="XRef">See Effects layer, outer glow info</A>)</P>
<P CLASS="CellBody">
'iglw' = inner glow (see <A HREF="PhotoshopFileFormats.htm#50577409_27692" CLASS="XRef">See Effects layer, inner glow info</A>)</P>
<P CLASS="CellBody">
'bevl' = bevel (see <A HREF="PhotoshopFileFormats.htm#50577409_31889" CLASS="XRef">See Effects layer, bevel info</A>)</P>
<P CLASS="CellBody">
'sofi' = solid fill (<EM CLASS="Italic">
Photoshop 7.0) </EM>
(see <A HREF="PhotoshopFileFormats.htm#50577409_70055" CLASS="XRef">See Effects layer, solid fill (added in Photoshop 7.0)</A>)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
See appropriate tables.</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_41831"></A>Effects layer, common state info</H6>
</CAPTION>
<TR>
<TH width="66" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH width="273" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size of next three items: 7</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Visible: always true</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unused: always 0</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_22203"></A>Effects layer, drop shadow and inner shadow info</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size of the remaining items: 41 or 51 (depending on version)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 0 (<EM CLASS="Italic">
Photoshop 5.0) </EM>
or 2 (<EM CLASS="Italic">
Photoshop 5.5)</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blur value in pixels</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Intensity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Angle in degrees</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Distance in pixels</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color: 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend mode: 4 bytes for signature and 4 bytes for key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Effect enabled</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Use this angle in all of the layer effects</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Native color: 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_25738"></A>Effects layer, outer glow info </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length </P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size of the remaining items: 32 for Photoshop 5.0; 42 for 5.5</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 0 for Photoshop 5.0; 2 for 5.5</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blur value in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Intensity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color: 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend mode: 4 bytes for signature and 4 bytes for the key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Effect enabled</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Version 2 only) </EM>
Native color space. 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_27692"></A>Effects layer, inner glow info </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length </P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size of the remaining items: 33 for Photoshop 5.0; 43 for 5.5</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 0 for Photoshop 5.0; 2 for 5.5.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blur value in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Intensity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color: 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend mode: 4 bytes for signature and 4 bytes for the key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Effect enabled</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
Remaining fields present only in version 2</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Invert</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Italic">
(Version 2 only) </EM>
Native color space. 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_31889"></A>Effects layer, bevel info <EM CLASS="CheckThis">
</EM>
</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size of the remaining items (58 for version 0, 78 for version 20</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 0 for Photoshop 5.0; 2 for 5.5</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Angle in degrees</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Strength. Depth in pixels</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blur value in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Highlight blend mode: 4 bytes for signature and 4 bytes for the key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Shadow blend mode: 4 bytes for signature and 4 bytes for the key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Highlight color: 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Shadow color: 2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Bevel style</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Hightlight opacity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Shadow opacity as a percent</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Effect enabled</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Use this angle in all of the layer effects</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Up or down</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following are present in version 2 only</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Real highlight color: 2 bytes for space; 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Real shadow color: 2 bytes for space; 4 * 2 byte color component</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_70055"></A>Effects layer, solid fill (added in Photoshop 7.0) </H6>
</CAPTION>
<TR>
<TH width="66" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH width="369" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size: 34</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version: 2</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key for blend mode</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color space</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Enabled</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Native color space</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Type Tool Info <EM CLASS="Italic">
(Photoshop 5.0 and 5.5 only)</EM>
</P>
<P CLASS="Note">
Has been superseded in Photoshop 6.0 and beyond by a different structure with the key <EM CLASS="Code">
'TySh'</EM>
 (see <EM CLASS="Code">
<A HREF="PhotoshopFileFormats.htm#50577409_19762" CLASS="XRef">See Type tool object setting (Photoshop 6.0)</A></EM>
<EM CLASS="Xref">
<A HREF="PhotoshopFileFormats.htm#50577409_60077" CLASS="XRef">See Type tool object setting</A></EM>
).</P>
<P CLASS="Body">
Key is '<EM CLASS="Code">
tySh'</EM>
. Data is as follows:  </P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_40186"></A>Type tool Info</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
48</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6 * 8 double precision numbers for the transform information</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
<EM CLASS="Italic">
Font information</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 6) </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of faces</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The next 8 fields are repeated for each count specified above</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mark value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Font type data</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of font name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of font family name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of font style name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Script value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of design axes vector to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Design vector value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
<EM CLASS="Italic">
Style information</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of styles</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The next 10 fields are repeated for each count specified above</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mark value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Face mark value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Size value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Tracking value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Kerning value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Leading value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Base shift value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Auto kern on/off</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Only present in version &lt;= 5</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Rotate up/down</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
<EM CLASS="Italic">
Text information</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Scaling factor value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Sharacter count value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Horizontal placement</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Vertical placement</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Select start value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Select end value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Line count, i.e. the number of items to follow.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The next 5 fields are repeated for each item in line count.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Character count value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Orientation value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Alignment value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Actual character as a double byte character</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Style value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
<EM CLASS="Italic">
Color information</EM>
 </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color space value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Anti alias on/off<EM CLASS="CheckThis">
 </EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Unicode layer name<EM CLASS="Italic">
 (Photoshop 5.0)</EM>
 </P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'luni'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Unicode Layer name</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string (4 bytes length + string).</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Layer ID <EM CLASS="Italic">
(Photoshop 5.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lyid'</EM>
.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Layer ID <EM CLASS="CheckThis">
</EM>
</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: <EM CLASS="Code">
'8BIM'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key: <EM CLASS="Code">
'lyid'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length: 4</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ID.</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Object-based effects layer info<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lfx2'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Object Based Effects Layer info</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Object effects version: 0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor version ( = 16 for Photoshop 6.0).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Patterns<EM CLASS="Italic">
 (Photoshop 6.0 and CS (8.0))</EM>
</P>
<P CLASS="FM3Head">
This is a list of patterns. Key is<EM CLASS="Code">
 'Patt', 'Pat2' or 'Pat3'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt"><CAPTION><H6 CLASS="TableTitle"><A NAME="Patterns">Patterns</A></H6></CAPTION>
<TR><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Length</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Description</P></TH></TR>
<TR><TD ROWSPAN="1" COLSPAN="2"><P CLASS="CellBody">The following is repeated for each pattern.</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Length of this pattern</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Version ( =1)</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">The image mode of the file. Supported values are: Bitmap = 0; Grayscale = 1; Indexed = 2; RGB = 3; CMYK = 4; Multichannel = 7; Duotone = 8; Lab = 9.</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Point: vertical, 2 bytes and horizontal, 2 bytes</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Variable</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Name: Unicode string</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Variable</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Unique ID for this pattern: Pascal string</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Variable</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Index color table (256 * 3 RGB values): only present when image mode is indexed color</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Variable</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Pattern data as <A HREF="PhotoshopFileFormats.htm#VirtualMemoryArrayList" CLASS="XRef">Virtual Memory Array List</A></P></TD></TR>
</TABLE>
<BR/>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt"><CAPTION><H6 CLASS="TableTitle"><A NAME="VirtualMemoryArrayList">Virtual Memory Array List</A></H6></CAPTION>
<TR><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Length</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Description</P></TH></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Version</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Length</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">32</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Rectangle: top, left, bottom, right</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Max channels</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="2"><P CLASS="CellBody">The following is a <EM CLASS="Italic">virtual memory array</EM>, repeated for the number of channels in the image mode, not to exceed the max channels.<EM CLASS="Italic"></EM></P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Boolean indicating whether array is written</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Length</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Pixel depth: 1, 8 or 16</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">1</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Compression mode of data to follow. 'Pat2' compression is zip.</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Variable</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Actual data based on parameters and compression</P></TD></TR>
</TABLE>

<P CLASS="FM3Head">
Annotations<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'Anno'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_17312"></A>Annotations</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Major version ( = 2)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Minor version. ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of annotations to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
Following is repeated for each annotation</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of this annotation</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Annotation type: either text(<EM CLASS="Code">
'txtA'</EM>
 ) or sound (<EM CLASS="Code">
'sndA'</EM>
).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Is the annotation open</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Flags. <EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Optional blocks. ( =1 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
16</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Rectangle of icon location: top, left, bottom and right.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
16</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Rectangle of popup locations: top, left, bottom and right</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 bytes for space followed by 4 * 2 byte color component</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of author's name aligned to 2 bytes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of name aligned to 2 bytes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of the mod Date aligned to 2 bytes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the following 3 fields including this field</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
'<EM CLASS="Code">
txtC</EM>
' or '<EM CLASS="Code">
sndM</EM>
'. Either text or sound</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the next field</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Actual data for this annotation. The text is an ASCII or Unicode string; the sound annotation is documented in the <EM CLASS="Italic">
PDF Reference</EM>
, available at <EM CLASS="HypertextLink">
<A HREF="http://Partners.adobe.com/asn/developer/acrosdk/docs.html#filefmtspecs" CLASS="URL">http://Partners.adobe.com/asn/developer/acrosdk/docs.html#filefmtspecs</A></EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding to align to multiple of 4 bytes</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Blend clipping elements <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'clbl'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Blend clipping elements</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend clipped elements: boolean</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Blend interior elements <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is<EM CLASS="Code">
'infx'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Blend interior elements</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blend interior elements: boolean</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Knockout setting<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'knko'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Knockout setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Knockout: boolean</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Protected setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lspf'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Protected setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Protection flags: bits 0 - 2 are used for Photoshop 6.0. Transparency, composite and position respectively.</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Sheet color setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lclr'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Sheet Color setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color. Only the first color setting is used for Photoshop 6.0; the rest are zeros</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Reference point <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'fxrp'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Reference point</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 * 8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 double values for the reference point</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Gradient settings <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'grdm'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Gradient settings</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( =1 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Is gradient reversed</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Is gradient dithered</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Name of the gradient: Unicode string, padded</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of color stops to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
Following is repeated for each color stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Location of color stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Midpoint of color stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mode for the color to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Actual color for the stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of transparency stops to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
Following is repeated for each transparency stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Location of transparency stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Midpoint of transparency stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Opacity of transparency stop</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Expansion count ( = 2 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Interpolation if length above is non-zero</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length (= 32 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mode for this gradient</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Random number seed</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Flag for showing transparency</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Flag for using vector color</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Roughness factor</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color model</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Minimum color values</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Maximum color values</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Dummy: not used in Photoshop 6.0</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">&nbsp;
</P>
<P CLASS="FM3Head">
Section divider setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lsct'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Section Divider setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type. 4 possible values, 0 = any other type of layer, 1 = open &quot;folder&quot;, 2 = closed &quot;folder&quot;, 3 = bounding section divider, hidden in the UI</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
Following is only present if length = 12</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: <EM CLASS="Code">
'8BIM'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key. See blend mode keys in <A HREF="PhotoshopFileFormats.htm#50577409_13084" CLASS="XRef">See Layer records</A>.</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Channel blending restrictions setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'brst'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Channel blending restrictions setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
Following is repeated length / 4 times.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Channel number that is restricted</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Solid color sheet setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'SoCo'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Solid color sheet setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 16 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor. Based on the Action file format structure (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Pattern fill setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'PtFl'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Pattern fill setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( =16 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor. Based on the Action file format structure (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Gradient fill setting<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'GdFl'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Gradient Fill Setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 bytes </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 16 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor. Based on the Action file format structure (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Vector mask setting <EM CLASS="Italic">
(Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'vmsk'</EM> or <EM CLASS="Code">
'vsms'</EM>. If key is <EM CLASS="Code">
'vsms'</EM> then we are writing for <EM CLASS="Italic">
 (Photoshop CS6)</EM> and the document will have a <EM CLASS="Code">
'vscg' </EM> key. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Vector mask setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 3 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Flags. bit 1 = invert, bit 2 = not link, bit 3 = disable</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The rest of the data is path components, loop until end of the length.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Paths. See <A HREF="PhotoshopFileFormats.htm#50577409_17587" CLASS="XRef">See Path resource format</A></P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
<A NAME="50577409_19762"></A>Type tool object setting<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Note">
This supersedes the type tool info in Photoshop 5.0 (see <A HREF="PhotoshopFileFormats.htm#50577409_40186" CLASS="XRef">See Type tool Info</A>).</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'TySh'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_60077"></A>Type tool object setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( =1 for Photoshop 6.0) </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6 * 8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Transform: xx, xy, yx, yy, tx, and ty respectively.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Text version ( = 50 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor version ( = 16 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Text data (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Warp version ( = 1 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor version ( = 16 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Warp data (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
left, top, right, bottom respectively.</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Foreign effect ID<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'ffxi'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Foreign effect ID</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ID of the Foreign effect.</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Layer name source setting<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lnsr'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Layer name source setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ID for the layer name</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Pattern data<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'shpa'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Pattern data</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 0 for Photoshop 6.0)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of sets to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for the count above.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pattern signature</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pattern key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of patterns in this set</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Copy on sheet duplication</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for the count of patterns above.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color handling. Prefer convert = <EM CLASS="Code">
'conv'</EM>
, avoid conversion = <EM CLASS="Code">
'avod'</EM>
, luminance only = <EM CLASS="Code">
'lumi'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string name of the pattern</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string name of the pattern</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string of the unique identifier for the pattern</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Metadata setting<EM CLASS="Italic">
 (Photoshop 6.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'shmd'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Metadata setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length </P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of metadata items to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated the number of times specified by the count above:</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature of the data</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key of the data</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Copy on sheet duplication</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of data to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Undocumented data</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Layer version <EM CLASS="Italic">
(Photoshop 7.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lyvr'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Layer version</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
A 32-bit number representing the version of Photoshop needed to read and interpret the layer without data loss. 70 = 7.0, 80 = 8.0, etc. </P>
<P CLASS="CellNote">
The minimum value is 70, because just having the field present in 6.0 triggers a warning. For the future, Photoshop 7 checks to see whether this number is larger than the current version -- i.e., 70 -- and if so, warns that it is ignoring some data.</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Transparency shapes layer <EM CLASS="Italic">
(Photoshop 7.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'tsly'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Transparency shapes layer</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1: the transparency of the layer is used in determining the shape of the effects. This is the default for behavior like previous versions.</P>
<P CLASS="CellBody">
0: treated in the same way as fill opacity including modulating blend modes, rather than acting as strict transparency. </P>
<P CLASS="CellBody">
Using this feature is useful for achieving effects that otherwise would require complex use of clipping groups.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Layer mask as global mask <EM CLASS="Italic">
(Photoshop 7.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lmgm'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577409_14192"></A>Layer mask as global mask</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1: the layer mask is used in a final crossfade masking the layer and effects rather than being used to shape the layer and its effects. </P>
<P CLASS="CellBody">
This behavior was previously tied to the link status flag for the layer mask. (An unlinked mask acted like a flag value of 1, a linked mask like 0). For old files that lack this key, the link status is used in order to preserve compositing results.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Vector mask as global mask <EM CLASS="Italic">
(Photoshop 7.0)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'vmgm'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Vector mask as global mask</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Same as in <A HREF="PhotoshopFileFormats.htm#50577409_14192" CLASS="XRef">See Layer mask as global mask</A>, but applying the vector mask.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Brightness and Contrast<EM CLASS="Italic">
</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'brit'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Brightness and Contrast</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Brightness</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Contrast</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mean value for brightness and contrast</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Lab color only</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Channel Mixer<EM CLASS="Italic">
</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'mixr'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Channel Mixer</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Monochrome</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
20</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
RGB or CMYK color plus constant for the mixer settings. 4 * 2 bytes of color with 2 bytes of constant.</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Color Lookup <span class="Italic"><em>(Photoshop CS6)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'clrL'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Color Lookup</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 2</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Version ( = 1)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor of black and white information</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Placed Layer (replaced by SoLd in Photoshop CS3)</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'plLd'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Placed Layer</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type ( = `plcL; )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 3 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unique ID as a pascal string</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Page number</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Total pages</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Anit alias policy</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Placed layer type: 0 = unknown, 1 = vector, 2 = raster</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * 8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Transformation: 8 doubles for x,y location of transform points</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Warp version ( = 0 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Warp descriptor version ( = 16 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor for warping information</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Linked Layer</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'lnkD'</EM>
. Also keys <EM CLASS="Code">'lnk2'</EM>  and <EM CLASS="Code">'lnk3'</EM> . Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Linked Layer</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the data to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type ( = `liFD' )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 2 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pascal string. Unique ID.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string of the original file name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
File Type</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
File Creator</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the data to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
File open descriptor</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor of open parameters. Only present when above is true.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Raw bytes of the file.</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Photo Filter</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'phfl'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Photo Filter</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 3) or ( = 2 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
12</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 bytes each for XYZ color (Only in Version 3)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 bytes color space followed by 4 * 2 bytes color component (Only in Version 2)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Density</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Preserve Luminosity</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Black White <span class="Italic"><em>(Photoshop CS3)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'blwh'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Black White</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor of black and white information</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Content Generator Extra Data <span class="Italic"><em>(Photoshop CS5)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'CgEd'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Content Generator Extra Data</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor of extra data</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Text Engine Data <span class="Italic"><em>(Photoshop CS3)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'Txt2'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Text Engine Data</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Length of data to follow</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Raw bytes for text engine</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Vibrance <span class="Italic"><em>(Photoshop CS3)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'vibA'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Vibrance</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor of vibrance information</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Unicode Path Name <span class="Italic"><em>(Photoshop CS6)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'pths'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Unicode Path Name </H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor containing a list of unicode path names</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Animation Effects <span class="Italic"><em>(Photoshop CS6)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'anFX'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Animation Effects </H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor containing animation effects</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Filter Mask <span class="Italic"><em>(Photoshop CS3)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'FMsk'</EM> . Data is as follows:</P>
<TABLE height="77" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Filter Mask</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 10</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Color space</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">2</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Opacity</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Placed Layer Data <span class="Italic"><em>(Photoshop CS3)</em></span></P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'SoLd'</EM> . See also <span class="Code"><em><strong>'PlLd'</strong></em></span> key. Data is as follows:</P>
<TABLE width="307" height="128" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Filter Mask</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Identifier ( = 'soLD' )</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Version ( = 4 )</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor Version ( = 16)</P></TD>
  </TR>
  <TR>
    <TD height="24" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Descriptor of placed layer information</P></TD>
  </TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Vector Stroke Data <EM CLASS="Italic">
(Photoshop CS6)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'vscg'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Pattern fill setting</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key ( = 'vsk' for Photoshop CS6)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 16 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor. Based on the Action file format structure (see <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>)<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head">
Using Aligned Rendering <EM CLASS="Italic">
(Photoshop CS6)</EM>
</P>
<P CLASS="Body">
Key is <EM CLASS="Code">
'sn2P'</EM>
. Data is as follows:</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Using Aligned Rendering</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Non zero is true for using aligned rendering</P>
</TD>
</TR>
</TABLE>
&nbsp;
<P CLASS="FM3Head"> Saving Merged Transparency</P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'Mtrn', 'Mt16' or 'Mt32'</EM> . There is no data associated with these keys.</P>
<P CLASS="FM3Head">&nbsp; </P>
<P CLASS="FM3Head"> User Mask</P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'LMsk'</EM> .</P>
<TABLE width="307" height="102" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> User Mask</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 10</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Color space</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody">2</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Opacity</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 1</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Flag ( = 128 )</P></TD>
  </TR>
</TABLE>
<P CLASS="FM3Head">&nbsp; </P>
<P CLASS="FM3Head">Exposure</P>
<P CLASS="Body">Key is <EM CLASS="Code"> 'expA'</EM> .</P>
<TABLE width="307" height="102" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle">Exposure</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="239" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 2</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Version (= 1)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody">4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Exposure</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Offset</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Gamma</P></TD>
  </TR>
</TABLE>
<P CLASS="FM3Head">&nbsp; </P>
<P CLASS="FM3Head"> Filter Effects</P>
<P CLASS="Body"> Key is <EM CLASS="Code"> 'FXid' or 'FEid'</EM> .</P>
<TABLE width="866" height="377" BORDER="1" style="margin-right: auto; margin-left: 54pt">
  <CAPTION>
  <H6 CLASS="TableTitle"> Filter Effects</H6>
  </CAPTION>
  <TR>
    <TH width="52" height="21" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Length</P></TH>
    <TH width="798" COLSPAN="1" ROWSPAN="1"> <P CLASS="CellHead"> Description</P></TH>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Version ( =1, 2 or 3)</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody">8</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Length of data to follow</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="2"><P CLASS="CellBody"> The following is repeated for the given length.</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Pascal string as identifier</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Version ( = 1 )</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 8</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Length</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 16</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Rectangle: top, left, bottom, right</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Depth</P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Max channels</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="2" ROWSPAN="1"><P CLASS="CellBody"> The following is repeated for number of channels + a user mask + a sheet mask.<EM CLASS="Italic"> </EM> </P></TD>
  </TR>
  <TR>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> 4</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Boolean indicating whether array is written</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 8</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Length</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 2</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Compression mode of data to follow.</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Actual data based on compression</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="2" ROWSPAN="1"><P CLASS="CellBody"> End of repeating for channels</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 1</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Next two items present or not</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> 2</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Compression mode of data to follow</P></TD>
  </TR>
  <TR>
    <TD height="23" COLSPAN="1" ROWSPAN="1"><P CLASS="CellBody"> Variable</P></TD>
    <TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"> Actual data based on compression</P></TD>
  </TR>
</TABLE>
</DIV>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577409_pgfId-1054855"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
<A NAME="50577409_89817"></A>Image Data Section</H4>
<P CLASS="Body">
The last section of a Photoshop file contains the image pixel data. Image data is stored in planar order: first all the red data, then all the green data, etc. Each plane is stored in scan-line order, with no pad bytes,</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Image data section</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length </P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Compression method:</P>
<P CLASS="CellBody">
0 = Raw image data</P>
<P CLASS="CellBody">
1 = RLE compressed the image data starts with the byte counts for all the scan lines (rows * channels), with each count stored as a two-byte value. The RLE compressed data follows, with each scan line compressed separately. The RLE compression is the same compression algorithm used by the Macintosh ROM routine <EM CLASS="Code">
PackBits</EM>
, and the TIFF standard.</P>
<P CLASS="CellBody">
2 = ZIP without prediction</P>
<P CLASS="CellBody">
3 = ZIP with prediction.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The image data. Planar order = RRR GGG BBB, etc.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">&nbsp;
</P>
</DIV>
</DIV>
</DIV>
<DIV>
<H1 CLASS="ChapterNum">&nbsp;
</H1>
<DIV>
<H3 CLASS="ChapterTitle">
<A NAME="50577413_pgfId-1030196"></A><A NAME="50577413_61897"></A>Other Document File Formats</H3>
<DIV>
<H5 CLASS="FM1Head">
<A NAME="50577413_pgfId-1035096"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Photoshop EPS files</H5>
<P CLASS="Body">
The following summarizes the additional information Photoshop writes when creating EPS files:</P>
<P CLASS="Bullet">
Photoshop writes a high-resolution bounding box comment to the EPS file immediately following the traditional EPS bounding box comment. The comment begins with &quot;<EM CLASS="Code">
%%HiResBoundingBox</EM>
&quot; and is followed by four numbers identical to those given for the bounding box except that they can have fractional components (i.e., a decimal point and digits after it). The traditional bounding box is written as the rounded version of the high resolution bounding box for compatibility.</P>
<P CLASS="Bullet">
Photoshop writes its image resources out to a block of data stored as follows:</P>
<P CLASS="Code">
%BeginPhotoshop: &lt;length&gt; &lt;hex data&gt;<EM CLASS="Code">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
EPS parameters for BeginPhotoshop</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Field</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Definition</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
length</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of the image resource data.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
hex data</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image resource data in hexadecimal.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Bullet">
Photoshop includes a comment in the EPS files it writes so that it is able to read them back in again. Third party programs that write pixel-based EPS files may want to include this comment in their EPS files, so Photoshop can read their files.</P>
<P CLASS="Indent">
The comment must follow immediately after the <EM CLASS="Code">
%%</EM>
 comment block at the start of the file. The comment is:</P>
<P CLASS="Code">
%ImageData: &lt;columns&gt; &lt;rows&gt; &lt;depth&gt; &lt;mode&gt; &lt;pad channels&gt; &lt;block size&gt; &lt;binary/hex&gt; &quot;&lt;data start&gt;&quot;</P>
<P CLASS="Code">
<EM CLASS="Code">
</EM>
&nbsp;</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
EPS parameters for ImageData</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Field</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Definition</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
columns</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Width of the image in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
rows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Height of the image in pixels.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
depth</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of bits per channel. Must be 1 or 8.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
mode</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Image mode. Bitmap/grayscale = 1; Lab = 2; RGB = 3; CMYK = 4.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
pad channels</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of other channels store in the file. Ignored when reading. Photoshop uses this to include a grayscale image that is printed on non-color PostScript printers.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
block size</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of bytes per row per channel. Will be either 1 or formula (below):</P>
<P CLASS="CellBody">
1 = Data is interleaved.</P>
<P CLASS="CellBody">
<EM CLASS="Code">
(columns*depth+7)/8</EM>
=Data is stored in line-interleaved format, or there is only one channel.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
binary/ascii</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 = Data is in binary format.</P>
<P CLASS="CellBody">
2 = Data is in hex ascii format.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
data start</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Entire PostScript line immediately preceding the image data. This entire line should not occur elsewhere in the PostScript header code, butit may occur at part of a line.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577413_pgfId-1035272"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
TIFF files</H4>
<P CLASS="Body">
<A HREF="PhotoshopFileFormats.htm#50577413_20965" CLASS="XRef">See TIFF Tags</A> describes the standard TIFF (version 6) tags and tag values that Photoshop is able to read and write. Photoshop reads the first Image File Directory (IFD) and writes one IFD per file.</P>
<P CLASS="Body">
In addition, Photoshop uses a set of tags that are not defined in the TIFF v6 specification to store specific information. See <A HREF="PhotoshopFileFormats.htm#50577413_48544" CLASS="XRef">See Photoshop-specific TIFF Tags</A>.</P>
<P CLASS="Body">
See <A HREF="PhotoshopFileFormats.htm#50577413_52212" CLASS="XRef">See TIFF Files on Mac OS</A> for information about how TIFF files are stored on Macintosh.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577413_20965"></A>TIFF Tags</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Tag</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Name</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Photoshop reads</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Photoshop writes</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
254</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
NewSubFileType</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Ignored</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
256</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ImageWidth</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 to 30000</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 to 30000</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
257</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ImageLength</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 to 30000</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 to 30000</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
258</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
BitsPerSample</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1, 2, 4, 8, 16 (all same)</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1, 8, 16</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
259</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Compression</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 (uncompressed), 2 (CCITT), 5 (LZW), 7 (JPEG), 8 (ZIP), 32773 (PackBits)</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1, 5, 7, 8</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
262</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
PhotometricInterpretation</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0, 1, 2, 3, 5, 8, 9</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0 (1-bit), 1 (8-bit), 2, 3,5,8</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
266</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
FillOrder</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
No</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
270</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ImageDescription</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Printing Caption</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Printing Caption</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
271</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF: Make</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
272</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF: Model</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
273</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
StripOffsets</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
277</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
SamplesPerPixel</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 to 24</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 to 24</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
278</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
RowsPerStrip</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Any</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Single strip if not compressed, multiple strips if compressed.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
279</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
StripByteCounts</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Required if compressed</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
282</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
XResolution</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
283</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
YResolution</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Ignored (square pixels assumed)</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
284</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
PlanarConfiguration</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 or 2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
296</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ResolutionUnit</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 or 3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
305</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF: Software</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
306</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF: Date/time</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
315</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF: Artist</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">&nbsp;
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
317</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Predictor</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 or 2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 or 2</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
320</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ColorMap</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
322</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
TileWidth</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
No</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
323</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
TileLength</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
No</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
324</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
TileOffsets</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
No</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
325</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
TileByteCounts</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Required if compressed</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
No</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
332</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
InkSet</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
No</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
336</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
DotRange</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes, if CMYK</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Yes</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
338</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ExtraSamples</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Ignored (except for count)</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Photoshop 5.5 and earlier writes 0. Photoshop 6.0 and later writes 0 or 1 based on the spec.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Note">
See <EM CLASS="FileName">
Photoshop TIFF.pdf</EM>
 for additional information about tags 259 and 262.<EM CLASS="FileName">
</EM>
</P>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577413_pgfId-1039502"></A><A NAME="50577413_48544"></A>Photoshop-specific TIFF Tags</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Photoshop-specific TIFF tags</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Tag</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
330</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
tSubIFD</EM>
 . Documented in the <EM CLASS="FileName">
TIFF-PM6.pdf </EM>
file as a PageMaker extension</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
437</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
JPEG tables. See <EM CLASS="FileName">
Photoshop TIFF.pdf</EM>
 for more information.<EM CLASS="FileName">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
700</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
XMP metadata. See <EM CLASS="HypertextLink">
<A HREF="http://www.adobe.com/devnet/xmp/" CLASS="URL">http://www.adobe.com/devnet/xmp/</A></EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
33723</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
File information (IPTC-NAA record 2: see the documents in the <EM CLASS="FileName">
IPTC</EM>
 folder of the <EM CLASS="FileName">
Documentation</EM>
 folder).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
34377</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Photoshop image resources (see <A HREF="PhotoshopFileFormats.htm#50577409_69883" CLASS="XRef">See Image Resources Section</A>)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
34665</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF IFD pointer. See <EM CLASS="HypertextLink">
<A HREF="http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf" CLASS="URL">http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf</A></EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
34675</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ICC Profiles (see the <EM CLASS="FileName">
ICC1v42_2006-05.pdf</EM>
 file from the International Color Consortium in the <EM CLASS="FileName">
Documentation</EM>
 folder of the Photoshop SDK)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
34853</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
EXIF GPS info. See <EM CLASS="HypertextLink">
<A HREF="http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf" CLASS="URL">http://www.kodak.com/global/plugins/acrobat/en/service/digCam/exifStandard2.pdf</A></EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
37724</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
tImageSourceData</EM>
 . Begins with the null-terminated string &quot;<EM CLASS="FileName">
Adobe Photoshop Document Data Block</EM>
&quot;, (**PSB** &quot;<EM CLASS="FileName">
Adobe Photoshop Document Data V0002</EM>
&quot;), followed by data of various types. See <EM CLASS="FileName">
Photoshop TIFF.pdf</EM>
 for a list .</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
50255</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
tAnnotations</EM>
. See <A HREF="PhotoshopFileFormats.htm#50577409_17312" CLASS="XRef">See Annotations</A> for details.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577413_pgfId-1038136"></A><A NAME="50577413_52212"></A>TIFF Files on Mac OS</H6>
<P CLASS="Body">
For cross-platform compatibility, all information in a Macintosh TIFF file is stored in the data fork. For interoperability with other Mac OS applications, however, some information is duplicated in resources stored in the resource fork of the file.</P>
<P CLASS="Bullet">
For compatibility with image cataloging applications, the <EM CLASS="Code">
'pnot'</EM>
 resource id 0 contains references to thumbnail, keywords, and caption information stored in other resources. </P>
<P CLASS="Bullet">
The thumbnail picture is stored in a <EM CLASS="Code">
'PICT'</EM>
 resource, the keywords are stored in <EM CLASS="Code">
'STR#'</EM>
 resource 128 and the caption text is stored in <EM CLASS="Code">
'TEXT'</EM>
 resource 128. For more information on the format of these resources see <EM CLASS="Italic">
Inside Macintosh: QuickTime Components</EM>
 and the <EM CLASS="Italic">
Extensis Fetch Awareness Developer's Toolkit</EM>
.</P>
<P CLASS="Bullet">
All of the data from Photoshop's <EM CLASS="LangName">
File Info</EM>
 dialog is stored in <EM CLASS="Code">
'ANPA'</EM>
 resource 10000.</P>
<P CLASS="Bullet">
<EM CLASS="Code">
STR ' </EM>
resource -16396 contains a string indicating the application that created the TIFF file. </P>
<P CLASS="Bullet">
Photoshop also creates <EM CLASS="Code">
'icl8'</EM>
 -16455 and <EM CLASS="Code">
'ICN#'</EM>
 -16455 resources containing thumbnail images which are shown in the Mac OS Finder.</P>
</DIV>
</DIV>
</DIV>
</DIV>
<DIV>
<H1 CLASS="ChapterNum">
	</H1>
<DIV>
<H3 CLASS="ChapterTitle">
<A NAME="50577411_pgfId-1058068"></A><A NAME="50577411_20528"></A>Additional File Formats</H3>
<P CLASS="Body">&nbsp;
</P>
<P CLASS="Body">
In addition to documents that the user creates in Adobe Photoshop (discussed in <A HREF="PhotoshopFileFormats.htm#50577409_72092" CLASS="XRef">See The Photoshop File Format</A>), there are a number of additional files used by Photoshop to store information about such items as colors, contours, curves, levels and so forth. These are known as <EM CLASS="Italic">
load files.</EM>
</P>
<P CLASS="Body">
This chapter describes the format of each load file. Some of the files can saved by the user; others are load only, as indicated in the sections.</P>
<P CLASS="Body">
Each file has a unique file type and file extension associated with it. Photoshop for Macintosh recognizes either, but does not require the use of the extension. In the file dialogs, Photoshop for Windows looks for files with the given file extension automatically; this can be overridden.</P>
<P CLASS="Body">
Under Mac OS, all information is stored in the data forks of Photoshop's load files. The files are completely interchangable with Windows or any other platform.</P>
<P CLASS="Note">
Consistent byte ordering is required across platforms when reading and writing load files. Photoshop stores multi-byte values with the high-order bytes first, (big-endian), as on Mac OS., which is the opposite of Windows' standard byte order.. For more information, see &quot;Macintosh and Windows development&quot; in chapter 2 of <EM CLASS="FileName">
Photoshop API Guide.pdf</EM>
.</P>
<P CLASS="Note">
All values defined as Unicode strings consist of:</P>
<P CLASS="Bullet2">
A 4-byte length field, representing the number of characters in the string (not bytes).</P>
<P CLASS="Bullet2">
The string of Unicode values, two bytes per character.</P>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1059252"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Actions</H4>
<P CLASS="Body">
Actions are accessed by means of the Actions palette. The object effects use the actions mechanism to output information to the PSD file format.<EM CLASS="Bold">
 </EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Action file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BAC</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ATN</EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
Each action file comprises an <EM CLASS="Italic">
action set</EM>
. The format of the action file is described in the table below: </P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Action file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 16)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: action set name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if set is expanded for the Actions palette</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of actions in action set </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for each action in the set</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Index of action<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if Shift key needed for keyboard shortcut</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if Command key needed for keyboard shortcut</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color index information</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: action name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if action is expanded in the Actions palette</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of items in action</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for each item</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if action is expanded in the Actions palette</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if action is enabled</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean: true if dialogs should be displayed</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Options for displaying dialogs</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Identifier: <EM CLASS="Code">
'TEXT'</EM>
 or <EM CLASS="Code">
'long'</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Event: if identifier is <EM CLASS="Code">
'TEXT'</EM>
,4 bytes of length followed by the string;</P>
<P CLASS="CellBody">
if identifier is <EM CLASS="Code">
'long'</EM>
, 4 bytes of itemID<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Dictionary name: 4 bytes of length followed by the string<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
-1 if a descriptor follows or 0 for none.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Descriptor: see Descriptor structure (<A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A>) for details</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_21585"></A>Descriptor structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: name from classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
classID: 4 bytes (length), followed either by string or (if length is zero) 4-byte classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of items in descriptor</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for each item in descriptor</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key: 4 bytes ( length) followed either by string or (if length is zero) 4-byte key</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type: OSType key</P>
<P CLASS="Code-Follow">
'obj ' = Reference</P>
<P CLASS="Code-Follow">
'Objc' = Descriptor</P>
<P CLASS="Code-Follow">
'VlLs' = List</P>
<P CLASS="Code-Follow">
'doub' = Double</P>
<P CLASS="Code-Follow">
'UntF' = Unit float</P>
<P CLASS="Code-Follow">
'TEXT' = String</P>
<P CLASS="Code-Follow">
'enum'= Enumerated</P>
<P CLASS="Code-Follow">
'long' = Integer</P>
<P CLASS="Code-Follow">
'bool' = Boolean</P>
<P CLASS="Code-Follow">
'GlbO' = GlobalObject same as Descriptor</P>
<P CLASS="Code-Follow">
'type' or GlbC'= Class</P>
<P CLASS="Code-Follow">
'alis' = Alias</P>
<P CLASS="Code-Follow">
'tdta' = Raw Data</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Item type: see the tables below for each possible type</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Reference Structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of items</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for each item in reference</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
OSType key for type to use:</P>
<P CLASS="Code-Follow">
'prop' = Property</P>
<P CLASS="Code-Follow">
'Clss' = Class</P>
<P CLASS="Code-Follow">
'Enmr' = Enumerated Reference</P>
<P CLASS="Code-Follow">
'rele' = Offset</P>
<P CLASS="Code-Follow">
'Idnt' = Identifier</P>
<P CLASS="Code-Follow">
'indx' = Index</P>
<P CLASS="Code-Follow">
'name' =Name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Item type: see the tables below for each possible Reference type</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Property Structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: name from classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
classID: 4 bytes (length), followed either by string or (if length is zero) 4-byte classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
KeyID: 4 bytes (length), followed either by string or (if length is zero) 4-byte keyID</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Unit float structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Units the following value is in. One of the following:</P>
<P CLASS="CellBody">
<P CLASS="Code-Follow">
'#Ang' = angle: base degrees</P>
<P CLASS="Code-Follow">
'#Rsl' = density: base per inch</P>
<P CLASS="Code-Follow">
'#Rlt' = distance: base 72ppi</P>
<P CLASS="Code-Follow">
'#Nne' = none: coerced.</P>
<P CLASS="Code-Follow">
'#Prc'= percent: unit value</P>
<P CLASS="Code-Follow">
'#Pxl' = pixels: tagged unit value</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Actual value (double)</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Double structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Actual value (double)</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Class structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: name from classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ClassID: 4 bytes (length), followed either by string or (if length is zero) 4-byte classID</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
String structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
String value as Unicode string </P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Enumerated reference</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: name from ClassID.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ClassID: 4 bytes (length), followed either by string or (if length is zero) 4-byte classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
TypeID: 4 bytes (length), followed either by string or (if length is zero) 4-byte typeID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
enum: 4 bytes (length), followed either by string or (if length is zero) 4-byte enum</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Offset structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: name from ClassID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
ClassID: 4 bytes (length), followed either by string or (if length is zero) 4-byte classID</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Value of the offset</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Boolean structure</H6>
</CAPTION>
<TR>
<TH width="66" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH width="209" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean value</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Alias structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Length of data to follow</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
FSSpec</EM>
 for Macintosh or a handle to a string to the full path on Windows</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
List structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of items in the list</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for each item in list</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
OSType key for type to use. See <A HREF="PhotoshopFileFormats.htm#50577411_21585" CLASS="XRef">See Descriptor structure</A> for types.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
See the tables above for each possible type</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Integer</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Value</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Enumerated descriptor</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type: 4 bytes (length), followed either by string or (if length is zero) 4-byte typeID<EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Enum: 4 bytes (length), followed either by string or (if length is zero) 4-byte enum</P>
</TD>
</TR>
</TABLE>
</DIV>
<div>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Raw Data</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Value</P>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1070460"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Arbitrary Map </H4>
<P CLASS="Body">
Arbitrary Map files are accessed by means of the Curves dialog (<EM CLASS="Italic">
load only</EM>
).<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Arbitrary map file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="234" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BLT</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.AMP</EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
There is no version number written in the file.</P>
<P CLASS="Body">
The files are an even multiple of 256 bytes long. Each 256 bytes is a lookup table, where:</P>
<P CLASS="Bullet">
The first byte of the table corresponds to byte zero of the image.</P>
<P CLASS="Bullet">
The last byte of the table corresponds to byte 255 of the image.</P>
<P CLASS="Bullet">
A <EM CLASS="Code">
NULL</EM>
 table that has no effect on an image is a linear table of bytes from 0 to 255.</P>
<P CLASS="Body">
If the file has one table, it is applied to the image's channels according to these priorities:</P>
<P CLASS="Bullet">
	If the image has a master composite channel, the table is applied to it. If not, then:</P>
<P CLASS="Bullet">
	If the image has a single active channel, the table is applied to it. If not, then:</P>
<P CLASS="Bullet">
If the image has no composite channel and more than one active channel, the table is not applied.</P>
<P CLASS="Body">
If the file has exactly three tables, it is applied to the image's channels according to these priorities:</P>
<P CLASS="Bullet">
The tables are assumed to represent RGB lookups. They are applied to the first three channels in the image, leaving the master composite untouched. Or:</P>
<P CLASS="Bullet">
If the image has a single active channel, the tables are converted to grayscale and the result is applied to the active channel. Or:</P>
<P CLASS="Bullet">
The first table is treated as a master. The remaining tables are applied to the image channels in turn (second table is applied to first channel, third table is applied to second channel, etc.).</P>
<DIV>
<H6 CLASS="FM2Head">
<A NAME="50577411_pgfId-1070494"></A>Single active channels</H6>
<P CLASS="Body">
Photoshop handles single active channels in a special fashion. When saving a map applied to a single channel, only one table is written to the file. Similarly, when reading a file for application to a single active channel, the master table is the one that will be used on that channel. This allows easy application of a single file to both composite and grayscale images.</P>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1070500"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
CMYK Setup</H4>
<P CLASS="Body">
CMYK settings files are accessed in Photoshop's Color Settings dialog <EM CLASS="Italic">
(load only)</EM>
. <EM CLASS="Bold">
</EM>
 </P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
CMYK file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BIC</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.API</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
CMYK setup file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 7) </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
27*2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Nine sets of three short integers specifying th&#92;e <EM CLASS="Code">
xyY</EM>
 (CIE) values for the inks and their combinations. The inks are specified in the order cyan, magenta, yellow, magenta-yellow (red), cyan-yellow (green), cyan-magenta (blue), cyan-magenta-yellow, followed by the white and black points. Each set is written in the order <EM CLASS="Code">
xyY</EM>
 where:</P>
<P CLASS="CellBody">
<EM CLASS="Code">
x</EM>
 = 0...10000, representing 0.0...1.0000. <EM CLASS="Code">
y</EM>
 = 1...10000, representing 0.0001...1.0000. <EM CLASS="Code">
Y</EM>
 = 0...20000, representing 0.00...200.00.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Dot gain. Short integer from -10...40, representing -10%...40%.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Use curves. = 1 if curves table present.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Filler: zero</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
13*4*2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Only present if &quot;use curves&quot; = 1. </P>
<P CLASS="CellBody">
4 sets of 13 short integers specifyting the cyan, magenta, yellow, and black curve percentages from the Dot Gain Curves dialog. 0...1000, representing 0.0...100.0 %</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Separation setup: see <A HREF="PhotoshopFileFormats.htm#50577411_50932" CLASS="XRef">See Separation file format</A></P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_50932"></A>Separation file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 300)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Separation type. 0 = UCR separations; 1 = GCR separations</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Blank ink limit (0...100)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Total ink limit (200...400)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Undercolor addition for GCR separations (0...100)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Black generation (spline) curve detailed in <A HREF="PhotoshopFileFormats.htm#50577411_15474" CLASS="XRef">See Black generation curve data structure</A>. See also the Curves data format in <A HREF="PhotoshopFileFormats.htm#50577411_32675" CLASS="XRef">See Curves file format</A>.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_15474"></A>Black generation curve data structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of points in curve ( 2...19)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2* number of points</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Each curve point is a pair of short integers where the first number is the output value (vertical coordinate on the Black Generation dialog graph) and the second is the input value. All coordinates have range 0 to 255. A <EM CLASS="Code">
NULL</EM>
 curve (no change to image data) is represented by the following five-number, ten-byte sequence in a file:</P>
<P CLASS="Code">
2 0 0 255 255.</P>
<P CLASS="CellNote">
The black generation curve and the UCA limit must both be present even if the separation type is set to UCR ( = 0).</P>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1066780"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Color Books</H4>
<P CLASS="Body">
Color book files <EM CLASS="Italic">
(Photoshop 7.0) </EM>
are automatically loaded by Photoshop; they cannot be saved or loaded via a menu item. You can place custom color books into the <EM CLASS="FileName">
Presets&#92;Color Books</EM>
 folder. Use the <EM CLASS="LangName">
Custom</EM>
 button on the Adobe color picker to access them.<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color book file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BCB</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ACB</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color book file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Signature: <EM CLASS="Code">
8BCB</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( =1 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Book ID. Existing IDs: 3000 (ANPA), 3001 (Focoltone), 3002 (PantoneCoated), 3003 (PantoneProcess), 3004 (PantoneProSlim), 3005 (PantoneUncoated), 3006 (Toyo), 3007 (Trumatch), 3008 (HKSE), 3009 (HKSK), 3010 (HKSN), 3011 (HKSZ), 3012 (DIC), 3020 (PantonePastelCoated), 3021 (PantonePastelUncoated), 3022 (PantoneMetallic)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: title</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: prefix</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: postfix</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: description</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Number of colors (&lt;= 8000)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Colors per page (&lt;= 9)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Key color page; must be less than or equal to colers per page</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color type. 0 = RGB; 2 = CMYK; 7 = Lab</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following are repeated for the number of colors</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unique key for the color</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Color values: 4 bytes for CMYK; 3 bytes for RGB and Lab</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1070626"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Color Table </H4>
<P CLASS="Body">
Color Table files are accessed using the Colors palette <EM CLASS="Italic">
(load only)</EM>
.<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color table file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BCT</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ACT</EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
There is no version number written in the file. The file is exactly 76</P>
<P CLASS="Body">
long, and contains 256 RGB colors:</P>
<P CLASS="Bullet">
The first color in the table is index zero.</P>
<P CLASS="Bullet">
There are three bytes per color in the order Red, Green, Blue.</P>
<P CLASS="Body">
If loaded into the Colors palette, the colors will be installed in the color swatch list as RGB colors.</P>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1055819"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
<A NAME="50577411_98294"></A>Color Swatches</H4>
<P CLASS="Body">
Color swatch files are loaded and saved in Photoshop's Color Swatches palette. These are typically stored in the <EM CLASS="FileName">
Color Swatches </EM>
sub-directory in the <EM CLASS="FileName">
Presets</EM>
 directory.<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color swatches file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="201" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BCO</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ACO</EM>
</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Color swatches file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( =1 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of colors in the file.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
count *10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Colors. Each color is 10 bytes, as described in <A HREF="PhotoshopFileFormats.htm#50577411_31265" CLASS="XRef">See Color structure</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
At the end of a version 1 file is the version 2 information.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 2 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of colors in the file. The next two fields are repeated for each count.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
count *10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Colors. Each color is 10 bytes, as described in <A HREF="PhotoshopFileFormats.htm#50577411_31265" CLASS="XRef">See Color structure</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: color name.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">&nbsp;
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_31265"></A>Color structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The color space the color belongs to (see <A HREF="PhotoshopFileFormats.htm#50577411_22664" CLASS="XRef">See Color space IDs</A>).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Four short unsigned integers with the actual color data. If the color does not require four values, the extra values are undefined and should be written as zeros. See <A HREF="PhotoshopFileFormats.htm#50577411_22664" CLASS="XRef">See Color space IDs</A>.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_22664"></A>Color space IDs</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Color ID</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
RGB.</P>
<P CLASS="CellBody">
The first three values in the color data are <EM CLASS="Italic">
red</EM>
, <EM CLASS="Italic">
green</EM>
, and <EM CLASS="Italic">
blue</EM>
. They are full unsigned 16-bit values as in Apple's <EM CLASS="Code">
RGBColor</EM>
 data structure. Pure red = 65535, 0, 0.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
HSB.</P>
<P CLASS="CellBody">
The first three values in the color data are <EM CLASS="Italic">
hue</EM>
, <EM CLASS="Italic">
saturation</EM>
, and <EM CLASS="Italic">
brightness</EM>
. They are full unsigned 16-bit values as in Apple's <EM CLASS="Code">
HSVColor</EM>
 data structure. Pure red = 0,65535, 65535.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
CMYK.</P>
<P CLASS="CellBody">
The four values in the color data are <EM CLASS="Italic">
cyan</EM>
, <EM CLASS="Italic">
magenta</EM>
, <EM CLASS="Italic">
yellow</EM>
, and <EM CLASS="Italic">
black</EM>
. They are full unsigned 16-bit values. </P>
<P CLASS="CellNote">
0 = 100% ink. For example, pure cyan = 0,65535,65535,65535.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
7</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Lab.</P>
<P CLASS="CellBody">
The first three values in the color data are <EM CLASS="Italic">
lightness</EM>
, <EM CLASS="Italic">
a chrominance</EM>
, and <EM CLASS="Italic">
b chrominance</EM>
.</P>
<P CLASS="CellBody">
Lightness is a 16-bit value from 0...10000. Chrominance components are each 16-bit values from -12800...12700. Gray values are represented by chrominance components of 0. Pure white = 10000,0,0.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Grayscale.</P>
<P CLASS="CellBody">
The first value in the color data is the gray value, from 0...10000.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">
Photoshop allows the specification of custom colors, such as those colors that are defined in a set of custom inks provided by a printing ink manufacturer. These colors can be stored in the Colors palette and streamed to and from load files. The details of a custom color's color data fields are not public and should be treated as a black box.</P>
<P CLASS="Body">
<A HREF="PhotoshopFileFormats.htm#50577411_28552" CLASS="XRef">See Custom color spaces</A> gives the color space IDs currently defined by Photoshop for some custom color spaces.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_28552"></A>Custom color spaces</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Color ID</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Name</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Pantone matching system</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Focoltone colour system</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
5</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Trumatch color</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Toyo 88 colorfinder 1050</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
HKS colors</P>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1056158"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Contours</H4>
<P CLASS="Body">
Contour settings files <EM CLASS="Italic">
(Photoshop 6.0) </EM>
are loaded and saved in Photoshop's Layer Effects dialog.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Contour file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BFS</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.SHC</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Contour file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Type ( = <EM CLASS="Code">
'8BFS'</EM>
 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1 )</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of contours</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is repeated for each contour</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1 or 2)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Unicode string: contour name</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
version 1 or 2 data follows. See <A HREF="PhotoshopFileFormats.htm#50577411_94843" CLASS="XRef">See Contours Version 1</A> for version 1 and <A HREF="PhotoshopFileFormats.htm#50577411_19251" CLASS="XRef">See Contours Version 2</A> for version 2.</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_94843"></A>Contours Version 1</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of points</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4* count</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
For each point: 4 bytes of point data (2 bytes vertical, 2 bytes horizontal_</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Minimum input range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Maximum input range</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_19251"></A>Contours Version 2</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of points</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 * count</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
For each point: Point data (2 bytes vertical, 2 bytes horizontal)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1 * count</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
For each point: boolean indicating whether the point is continuous</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Min input range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Max input range</P>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1056330"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Curves</H4>
<P CLASS="Body">
Curves settings files are loaded in Photoshop's Curves dialog and Black Generation curve dialog (from within Separation Setup Preferences). Curves files can also be loaded into any of Photoshop's transfer function dialogs, such as the Duotone Curve dialog from within Duotone Options, and Print transfer dialog. Curves are saved as <EM CLASS="Code">
.ATF</EM>
 and <EM CLASS="Code">
.ACV</EM>
 files.</P>
<P CLASS="Note">
When loaded into a transfer function dialog, only the first curve in a Curves file is used.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Curves file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BSC</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.CRV</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_32675"></A>Curves file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1 or = 4)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of curves in the file.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is the data for each curve specified by count above</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of points in the curve (short integer from 2...19)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
point count * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Curve points. Each curve point is a pair of short integers where the first number is the output value (vertical coordinate on the Curves dialog graph) and the second is the input value. All coordinates have range 0 to 255. See also <A HREF="PhotoshopFileFormats.htm#50577411_37810" CLASS="XRef">See Null curves</A> below.</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
<A NAME="50577411_37810"></A>Null curves</P>
<P CLASS="Body">
A <EM CLASS="Code">
NULL</EM>
 curve (no change to image data) is represented by the following five-number, ten-byte sequence in a file:</P>
<P CLASS="Code">
2 0 0 255 255</P>
<P CLASS="FM3Head">
Displaying ink percentages</P>
<P CLASS="Body">
Photoshop allows the option of displaying ink percentages instead of pixel values; this is a display option only and the internal data is unchanged, with 100% ink equal to image data of 0 and 0% ink equal to image data of 255.</P>
<P CLASS="FM3Head">
Curves data order</P>
<P CLASS="StepFirst">
	The first curve is a master curve that applies to all the composite channels (RGB) when in composite image mode.</P>
<P CLASS="Step">
The remaining curves apply to the active channels in order: curve two applies to channel one, curve three applies to channel two, etc., up until curve 17, which applies to channel 16.</P>
<P CLASS="FM3Head">
Indexed color</P>
<P CLASS="Body">
The exception to the normal order, and the reason there are up to 19 curves, is when the mode is Indexed color. In this case:</P>
<P CLASS="StepFirst">
The first curve is a master curve.</P>
<P CLASS="Step">
The next three curves are created for the Red, Green, and Blue portions of the image's color table, and they are applied to the first channel.</P>
<P CLASS="Step">
The remaining curves apply to any remaining alpha channel that is active: for instance, if channel two is active, curve five applies to it; if channel three is active, curve six applies to it, etc., up until curve 19, which applies to channel 16.</P>
<P CLASS="FM3Head">
Single active channels</P>
<P CLASS="Body">
Photoshop handles single active channels in a special fashion. When saving the curves applied to a single channel, the settings are stored into the master curve, at the beginning of the file. Similarly, when reading a curves file for application to a single active channel, the master curve is the one that will be used on that channel. This allows easy application of a single file to both RGB and grayscale images.</P>
<P CLASS="FM3Head">
Additional information</P>
<P CLASS="Body">
At the end of the Version 1 file is the following information:</P>
<P CLASS="Body">
Extra level record info marker 'Crv '</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Extra curves marker</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
= 'Crv ' for extra curve information</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 4) </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of items to follow.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
The following is the data for each curve specified by count above</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Before each curve is a channel index.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of points in the curve (short integer from 2...19)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
point count * 4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Curve points. Each curve point is a pair of short integers where the first number is the output value (vertical coordinate on the Curves dialog graph) and the second is the input value. All coordinates have range 0 to 255. See also <A HREF="PhotoshopFileFormats.htm#50577411_37810" CLASS="XRef">See Null curves</A> below.</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">&nbsp;
</P>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1072133"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Custom Kernel</H4>
<P CLASS="Body">
Kernel settings files are loaded and saved in Photoshop's Custom Filter dialog.<EM CLASS="Bold">
</EM>
.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Custom kernel file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BCK</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ACF</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Custom filter structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
50</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Weights. </P>
<P CLASS="CellBody">
The first 25 values are the custom weights from -999...999, applied to pixels offset from each pixel by [-2,-2] to [2,2]. The values progress through horizontal offsets first, as follows:</P>
<P CLASS="CellCode">
  <span class="ExampleTitleWidePref">{[-2,-2],[-1,-2],[ 0,-2],[ 1,-2],[ 2,-2],</span></P>
<P CLASS="CellCode">
  <span class="ExampleTitleWidePref"> [-2,-1],[-1,-1],[ 0,-1],[ 1,-1],[ 2,-1],</span></P>
<P CLASS="CellCode">
  <span class="ExampleTitleWidePref"> [-2, 0],[-1, 0],[ 0, 0],[ 1, 0],[ 2, 0],</span></P>
<P CLASS="CellCode">
  <span class="ExampleTitleWidePref"> [-2, 1],[-1, 1],[ 0, 1],[ 1, 1],[ 2, 1],</span></P>
<P CLASS="CellCode">
  <span class="ExampleTitleWidePref"> [-2, 2],[-1, 2],[ 0, 2],[ 1, 2],[ 2, 2]}</span></P></TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
27*2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Ink colors. </P>
<P CLASS="CellBody">
Nine sets of three short integers specifying the <EM CLASS="Code">
xyY</EM>
 (CIE) values for the inks and their combinations. The inks are specified in the order cyan, magenta, yellow, magenta-yellow (red), cyan-yellow (green), cyan-magenta (blue), cyan-magenta-yellow, followed by the white and black points. Each set is written in the order <EM CLASS="Code">
xyY</EM>
 where:</P>
<P CLASS="CellBody">
<EM CLASS="Code">
x</EM>
 = 0...10000, representing 0.0...1.0000. <EM CLASS="Code">
y</EM>
 = 1...10000, representing 0.0001...1.0000. <EM CLASS="Code">
Y</EM>
 = 0...20000, representing 0.00...200.00.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Scale. Short integer from 1...9999. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Offset. Short integer from -9999...9999. </P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1064451"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Duotone Options</H4>
<P CLASS="Body">
Duotone settings files are loaded and saved in the Duotone Options dialog..<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Duotone file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BDT</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ADO</EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">&nbsp;
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Duotone file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
Count</EM>
. Number of plates in duotone spec (short integer). 1 = Monotone; 2 = Duotone; 3 = Tritone; 4 = Quadtone.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4*10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Four ink colors, regardless of the number of plates. The contents of the colors beyond the last plate specified by Count are undefined. Each color is 10 bytes and described in <A HREF="PhotoshopFileFormats.htm#50577411_21898" CLASS="XRef">See Duotone color structure</A>. It is identical to the format in a Colors load file.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4*64</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Four ink names, regardless of the number of plates. Each name is streamed as a Pascal-style string with a length byte followed by the string name. Names may not be more than 63 characters. Each name is padded to occupy 64 bytes, including the length byte. Any names beyond the last plate specified by <EM CLASS="Code">
Count</EM>
 should be empty, size = 0.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4*28</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Four ink curves, regardless of the number of plates. Described in <A HREF="PhotoshopFileFormats.htm#50577411_18675" CLASS="XRef">See Ink curves structure</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Dot gain ( = 20). Kept for compatability with Photoshop 2.0. Ignored.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
11*10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Eleven overprint colorscolors, regardless of the number of plates. The number of defined overprints depends on <EM CLASS="Code">
Count</EM>
.</P>
<P CLASS="CellBody">
Monotones = no overprint colors. Duotones = one overprint color. Tritones = four overprint colors. Quadtones = 11 overprint colors. The contents of the colors beyond the last defined overprint are undefined. Each color is 10 bytes and described in <A HREF="PhotoshopFileFormats.htm#50577411_21898" CLASS="XRef">See Duotone color structure</A>. It is identical to the format in a Colors load file.</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_21898"></A>Duotone color structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
The color space the color belongs to (see <A HREF="PhotoshopFileFormats.htm#50577411_22664" CLASS="XRef">See Color space IDs</A>).</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Four short unsigned integers with the actual color data. If the color does not require four values to specify, the extra values are undefined and should be written as zeros.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_18675"></A>Ink curves structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
26</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Transfer curve: Array of 13 short integers from 0...1000 representing 0.0...100.0. All but the first and last value may be -1, representing no point on the curve. Any curves beyond the last plate should be equal to the <EM CLASS="Code">
NULL</EM>
 curve. A <EM CLASS="Code">
NULL</EM>
 transfer curve looks like this: 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1000.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Override ( = 0). Short integer for compatibility. Ignored by Photoshop 3.0 and higher. <EM CLASS="CheckThis">
</EM>
</P>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1056740"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Halftone Screens</H4>
<P CLASS="Body">
Halftone Screens settings files are loaded and saved in Photoshop's Halftone Screens dialog (available from <EM CLASS="LangName">
Edit &gt; Print with Preview</EM>
 in Photoshop 7, or <EM CLASS="LangName">
Page Setup</EM>
 or <EM CLASS="LangName">
Print Options</EM>
 in previous versions).<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Halftone screen file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="194" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BHS</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.AHS</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_22631"></A>Halftone screens file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 5)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4*18</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Four screen descriptions. See <A HREF="PhotoshopFileFormats.htm#50577411_26125" CLASS="XRef">See Halftone screen parameter structure</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
For every screen that has a custom spot function, the PostScript function text is written here, one after the other, with no header information, in the same order as the screen settings. The size of each custom spot is the absolute value of its negative shape code.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_26125"></A>Halftone screen parameter structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Ink's screen frequency, in lines per inch. Binary fixed point value ;16 bits representing the integer and fractional parts from 1.0...999.999.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Units for the screen frequency. Lines per inch = 1; lines per centimeter = 2. Only affects display, not screen frequency.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Angle for screen. Binary fixed point value with 16 bits representing the integer and fractional parts from -180.0000 ... 180.0000, measured in degrees. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Code representing the shape of the halftone dots. 0 = Round; 1 = Ellipse; 2 = Line; 3 = Square; 4 = Cross; 6 = Diamond. Negative numbers represent custom shapes; the absolute value is the size in bytes of the custom spot function described in <A HREF="PhotoshopFileFormats.htm#50577411_22631" CLASS="XRef">See Halftone screens file format</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
= 0. Not currently used by Photoshop.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean. 1 = Use accurate screens; 0 = Use other.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean. 1 = Use printer's default screens; 0 = Use other.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1056863"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Hue/Saturation</H4>
<P CLASS="Body">
Hue/Saturation settings files are loaded and saved in Photoshop's Hue/Saturation dialog<EM CLASS="Bold">
</EM>
/</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Hue/saturation file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="215" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BHA</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.AHV</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Hue/saturation file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 2)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
0 = Use settings for hue-adjustment; 1 = Use settings for colorization.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Padding byte; must be present but is ignored by Photoshop.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Colorization.</P>
<P CLASS="CellBody">
Photoshop 5.0: The actual values are stored for the new version. Hue is -180...180, Saturation is 0...100, and Lightness is -100...100.</P>
<P CLASS="CellBody">
Photoshop 4.0: Three short integers Hue, Saturation, and Lightness from -100...100. The user interface represents hue as -180...180, saturation as 0...100, and Lightness as -100...1000, as the traditional HSB color wheel, with red = 0.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Master hue, saturation and lightness values.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="2">
<P CLASS="CellBody">
6 sets of the following 14 bytes (4 range values followed by 3 settings values)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
8: range values</P>
</TD>
<TD ROWSPAN="2" COLSPAN="1">
<P CLASS="CellBody">
For RGB and CMYK, those values apply to each of the six hextants in the HSB color wheel: those image pixels nearest to red, yellow, green, cyan, blue, or magenta. These numbers appear in the user interface from -60...60, however the slider will reflect each of the possible 201 values from -100...100.</P>
<P CLASS="CellBody">
For Lab, the first four of the six values are applied to image pixels in the four Lab color quadrants, yellow, green, blue, and magenta. The other two values are ignored ( = 0). The values appear in the user interface from -90 to 90.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6:settings values</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1057086"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Levels</H4>
<P CLASS="Body">
Levels settings files are loaded and saved in the Levels dialog.<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Levels file types</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BLS</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ALV</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Levels file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 2) </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
29 * 10</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
29 sets of level records, each level containing 5 short integers (see <A HREF="PhotoshopFileFormats.htm#50577411_34683" CLASS="XRef">See Level record structure</A>). </P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_34683"></A>Level record structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Input floor (0...253)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Input ceiling (2...255)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Output floor (0...255). Matched to input floor.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Output ceiling (0...255)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Gamma. Short integer from 10...999 representing 0.1...9.99. Applied to all image data.</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Level record sets order</P>
<P CLASS="Body">
The first set of levels is the master set that applies to all of the composite channels (RGB) when in composite image mode.</P>
<P CLASS="Body">
The remaining sets apply to the active channels individually; set two applies to channel one, the set three to channel two, etc., up until set 25, which applies to channel 24.</P>
<P CLASS="Body">
Sets 28 and 29 are reserved and should be set to zeros.</P>
<P CLASS="FM3Head">
Indexed color</P>
<P CLASS="Body">
The exception to the normal order is when the mode is Indexed:</P>
<P CLASS="Bullet">
The first set is a master set.</P>
<P CLASS="Bullet">
	The next three sets are created for the Red, Green, and Blue portions of the image's color table, and they are applied to the first channel.</P>
<P CLASS="Bullet">
The remaining sets apply to any remaining alpha channels that are active: for instance, if channel two is active, set five applies to it; if channel three is active, set six applies to it, etc., up until channel 27, which applies to channel 24.</P>
<P CLASS="Bullet">
Sets 28 and 29 are reserved and should be set to zeros.</P>
<P CLASS="FM3Head">
Single active channels</P>
<P CLASS="FM3Head">
Photoshop handles single active channels in a special fashion. When saving the levels applied to a single channel, the settings are stored into the master set, at the beginning of the file. Similarly, when reading a levels file for application to a single active channel, the master levels are the ones that will be used on that channel. This allows easy application of a single file to both RGB and grayscale images.</P>
<P CLASS="FM3Head">
Photoshop CS (8.0) Additional information</P>
<P CLASS="Body">
At the end of the Version 2 file is the following information:</P>
<P CLASS="Body">
Extra level record info marker 'Lvls'</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Extra levels marker</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
= 'Lvls' for extra level information</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 3) </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Count of total level record structures. Subtract the legacy number of level record structures, 29, to determine how many are remaining in the file for reading.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Variable</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Additianol level records according to count. <A HREF="PhotoshopFileFormats.htm#50577411_34683" CLASS="XRef">See Level record structure</A></P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1070808"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Monitor Setup</H4>
<P CLASS="Note">
This format has been superseded by ICC profiles. See <EM CLASS="FileName">
ICC1v42_2006-05.pdf</EM>
 for details.<EM CLASS="FileName">
</EM>
</P>
<P CLASS="Body">
Monitor settings files are accessed in Photoshop's Color Settings dialog, via the <EM CLASS="LangName">
Edit</EM>
 menu <EM CLASS="Italic">
(load only)</EM>
.<EM CLASS="Bold">
</EM>
<EM CLASS="CheckThis">
 </EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Monitor setup file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="239" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BMS</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.AMS</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Monitor setup file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 2.)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Gamma. Short integer from 75...300 representing 0.75...3.00.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2*2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
White point. Two short integers as CIE chromaticity coordinates: <EM CLASS="Code">
x,y</EM>
. <EM CLASS="Code">
x</EM>
 = 0...10000 representing 0.0...1.0000. <EM CLASS="Code">
y</EM>
 = 1...10000 representing 0.0001...1.0000.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6*2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Phosphors. Three sets of two integers giving <EM CLASS="Code">
x,y</EM>
 coordinates of the red, green, and blue phosphors. <EM CLASS="Code">
x</EM>
 = 0...10000 representing 0.0...1.0000. <EM CLASS="Code">
y</EM>
 = 1...10000 representing 0.0001...1.0000. In the order <EM CLASS="Italic">
red</EM>
 <EM CLASS="Code">
x</EM>
, <EM CLASS="Italic">
red</EM>
 <EM CLASS="Code">
y</EM>
; <EM CLASS="Italic">
green</EM>
 <EM CLASS="Code">
x</EM>
, <EM CLASS="Italic">
green </EM>
<EM CLASS="Code">
y</EM>
; <EM CLASS="Italic">
blue </EM>
<EM CLASS="Code">
x</EM>
, <EM CLASS="Italic">
blue</EM>
 <EM CLASS="Code">
y</EM>
.</P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1065371"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Replace Color/Color Range</H4>
<P CLASS="Body">
Replace Color settings files are loaded and saved in the Color Range dialog (available via the <EM CLASS="LangName">
Select</EM>
 menu).<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Replace color/Color range file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="263" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BXT</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.AXT</EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="Body">&nbsp;
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Replace color/Color range file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Short integer indicating what space the color components are in. 7 = Lab color, 8 = grayscale. No other values are supported.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Component ranges. Six unsigned byte values representing the range of colors within which a pixel's color must fall to be considered selected for color replacement, or color range selecting. Described in <A HREF="PhotoshopFileFormats.htm#50577411_10532" CLASS="XRef">See Component range structure</A>.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Fuzziness. Short integer from 0...200 controlling how colors close to selected colors are affected.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
6</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Transform settings.</P>
<P CLASS="CellBody">
When used with Replace Color: Three short integers from -100...100. Described in <A HREF="PhotoshopFileFormats.htm#50577411_30843" CLASS="XRef">See Replace color transform settings</A>.</P>
<P CLASS="CellBody">
When used with Color Range: Writes zeros into the three short integers and ignores.</P>
</TD>
</TR>
</TABLE>
<DIV>
<H6 CLASS="Anchor">&nbsp;
</H6>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_10532"></A>Component range structure </H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
if Lab (color space = 7): low endpoint of <EM CLASS="Code">
L</EM>
 value</P>
<P CLASS="CellBody">
if grayscale (color space = 8): low endpoint of gray range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
if Lab: high endpoint of <EM CLASS="Code">
L</EM>
 value</P>
<P CLASS="CellBody">
if grayscale: 0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
if Lab: low endpoint of <EM CLASS="Code">
a</EM>
 chrominance value</P>
<P CLASS="CellBody">
if grayscale: 0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
if Lab: high endpoint of <EM CLASS="Code">
a</EM>
 chrominance value</P>
<P CLASS="CellBody">
if grayscale: 0</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
if Lab: low endpoint of <EM CLASS="Code">
b</EM>
 chrominance value</P>
<P CLASS="CellBody">
if grayscale: low endpoint of gray range</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
if Lab: high endpoint of <EM CLASS="Code">
b</EM>
 chrominance value</P>
<P CLASS="CellBody">
if grayscale: high endpoint of gray range</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_30843"></A>Replace color transform settings<EM CLASS="zTableCont">
</EM>
</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Hue change. Short integer from -100...100. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Saturation change. Short integer from -100...100. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Lightness change Short integer from -100...100. .</P>
</TD>
</TR>
</TABLE>
</DIV>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1057552"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Selective Color</H4>
<P CLASS="Body">
Selective Color settings files are loaded and saved in Photoshop's Selective Color dialog.<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Selective color file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="214" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BSV</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.ASV</EM>
</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Selective color file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 1)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Correction method.. 0 = Apply color correction in relative mode; 1 = Apply color correction in absolute mode.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
80</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Ten eight-byte plate correction records, described in <A HREF="PhotoshopFileFormats.htm#50577411_38745" CLASS="XRef">See Plate correction structure</A>.</P>
<P CLASS="CellBody">
The first record is ignored by Photoshop and is reserved for future use. It should be set to all zeroes.</P>
<P CLASS="CellBody">
The rest of the records apply to specific areas of colors or lightness values in the image, in the following order: reds, yellows, greens, cyans, blues, magentas, whites, neutrals, blacks.</P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_38745"></A>Plate correction structure</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Amount of cyan correction. Short integer from -100...100. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Amount of magenta correction. Short integer from -100...100. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Amount of yellow correction. Short integer from -100...100. </P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2 </P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Amount of black correction. Short integer from -100...100. </P>
</TD>
</TR>
</TABLE>
</DIV>
<DIV>
<H4 CLASS="FM1HeadTop">
<A NAME="50577411_pgfId-1070974"></A><DIV>
<IMG SRC="images/PhotoshopFileFormatsLine.gif">
</DIV>
Separation Tables</H4>
<P CLASS="Note">
This format has been superseded by ICC profiles. See <EM CLASS="FileName">
ICC1v42_2006-05.pdf</EM>
 for details.</P>
<P CLASS="Body">
Separation Table files are accessed in 	the Separation Tables dialog <EM CLASS="Italic">
(load only)</EM>
.<EM CLASS="Bold">
</EM>
</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
Separation table file types</H6>
</CAPTION>
<TR>
<TH width="74" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
OS</P>
</TH>
<TH width="216" COLSPAN="1" ROWSPAN="1">
<P CLASS="CellHead">
Filetype/extension</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Mac OS</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
8BST</EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Windows</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
<EM CLASS="Code">
.AST</EM>
</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
Format:</P>
<P CLASS="StepFirst">
If the size of the file is <EM CLASS="Code">
33 * 33 * 33 * 4</EM>
, then the file consists only of a <BR>
Lab-&gt;CMYK table as currently documented.<EM CLASS="CheckThis">
</EM>
</P>
<P CLASS="Step">
	If the size of the file is ( <EM CLASS="Code">
33 * 33 * 33 + 256 ) * 3</EM>
, then the file consists only of a CMYK-&gt;Lab table as currently documented.</P>
<P CLASS="Step">
Otherwise, the file has the format listed in <A HREF="PhotoshopFileFormats.htm#50577411_37971" CLASS="XRef">See Separation table file format</A>.</P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt">
<CAPTION>
<H6 CLASS="TableTitle">
<A NAME="50577411_37971"></A>Separation table file format</H6>
</CAPTION>
<TR>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Length</P>
</TH>
<TH ROWSPAN="1" COLSPAN="1">
<P CLASS="CellHead">
Description</P>
</TH>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
2</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Version ( = 300)</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean. True if contains Lab-&gt;CMYK table.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean. True if contains CMYK-&gt;Lab table.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
33*33*33*4</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
If file contains Lab-&gt;CMYK table, this section contains CMYK colors for 33*33*33 Lab colors. The CMYK colors are written in interleaved order, one byte each ink. 0 = 100%, 255 = 0%. See <A HREF="PhotoshopFileFormats.htm#50577411_38849" CLASS="XRef">See Generating Lab source colors</A> below.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
(33*33*33 +256)*3</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
If file contains CMYK-&gt;Lab table, this section contains Lab colors for 33*33*33+256 CMYK colors. The Lab colors are written in interleaved order, one byte per component. See <A HREF="PhotoshopFileFormats.htm#50577411_31913" CLASS="XRef">See Generating CMYK source colors</A> below.<EM CLASS="CheckThis">
 </EM>
</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Boolean. True if gamut table follows.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
1</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
If entry above is <EM CLASS="Code">
false</EM>
, this byte will not be present.</P>
<P CLASS="CellBody">
If <EM CLASS="Code">
true,</EM>
 this byte should be set to 1 for compatibility.</P>
</TD>
</TR>
<TR>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
(((33*33*33L)+7)&gt;&gt;3) if gamut table present, zero otherwise</P>
</TD>
<TD ROWSPAN="1" COLSPAN="1">
<P CLASS="CellBody">
Gamut table, if present. The gamut table is a bit table indexed in the same way as the Lab-&gt;CMYK table with the high bit of the first byte at index 0. See
<A HREF="PhotoshopFileFormats.htm#50577411_94906" CLASS="XRef">See Testing for bits in the gamut table</A> below.</P>
</TD>
</TR>
</TABLE>
<P CLASS="FM3Head">
<A NAME="50577411_38849"></A>Generating Lab source colors</P>
<P CLASS="Body">
The Lab colors that are the source colors can be generated from the <EM CLASS="Code">
Lab-&gt;CMYK</EM>
 table with the following routine:</P>
<P CLASS="Code">for (i = 0; i &lt; 33; i++)</P>
<P CLASS="Code">&nbsp;for (j = 0; j &lt; 33; j++)</P>
<P CLASS="Code">&nbsp;&nbsp;for (n = 0; n &lt; 33; n++)</P>
<P CLASS="Code">&nbsp;&nbsp;{</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;L = Min (i * 8, 255);</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;a = Min (j * 8, 255);</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;b = Min (n * 8, 255);</P>
<P CLASS="Code">&nbsp;&nbsp;}</P>
<P CLASS="FM3Head">
<A NAME="50577411_31913"></A>Generating CMYK source colors</P>
<P CLASS="Body">
The CMYK colors that are the source colors can be generated from the <EM CLASS="Code">
CMYK-&gt;Lab</EM>
 table with the following routine:</P>
<P CLASS="Code">for (i = 0; i &lt; 33; i++)</P>
<P CLASS="Code">&nbsp;for (j = 0; j &lt; 33; j++)</P>
<P CLASS="Code">&nbsp;&nbsp;for (n = 0; n &lt; 33; n++)</P>
<P CLASS="Code">&nbsp;&nbsp;{</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;c = Min (i * 8, 255);</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;m = Min (j * 8, 255);</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;y = Min (n * 8, 255);</P>
<P CLASS="Code">&nbsp;&nbsp;&nbsp;k = 255;</P>
<P CLASS="Code">&nbsp;&nbsp;}</P>
<P CLASS="Code">for (i = 0; i &lt; 256; i++)</P>
<P CLASS="Code">{</P>
<P CLASS="Code">&nbsp;c = 255;</P>
<P CLASS="Code">&nbsp;m = 255;</P>
<P CLASS="Code">&nbsp;y = 255;</P>
<P CLASS="Code">&nbsp;k = i;</P>
<P CLASS="Code">}</P>
<P CLASS="FM3Head">
<A NAME="50577411_94906"></A>Testing for bits in the gamut table</P>
<P CLASS="Body">
To test the bit at <EM CLASS="Code">
bitIndex</EM>
, use table:</P>
<P CLASS="Code">
([bitIndex &gt;&gt; 3] &amp; (0x0080 &gt;&gt; (bitIndex &amp; 0x07))) != 0.</P>
<P CLASS="Body">
<EM CLASS="Code">
bitIndex</EM>
 itself is calculated in the same way you would calculate an index into the <EM CLASS="Code">
Lab-&gt;CMYK</EM>
 table.</P>
<P CLASS="Body">
A result of <EM CLASS="Code">
1</EM>
 indicates that the color is in gamut and <EM CLASS="Code">
0</EM>
 indicates that it is out of gamut.</P>
</DIV>
<DIV><H4 CLASS="FM1HeadTop"><A NAME="50577411_pgfId-1071095"></A><DIV><IMG SRC="images/PhotoshopFileFormatsLine.gif"></DIV>Transfer Function</H4>
<P CLASS="Body">Transfer Function settings files are accessed <EM CLASS="Italic">(load only) </EM>in Photoshop's Duotone Curve dialog from within Duotone Options and Transfer Function dialogs (available from <EM CLASS="LangName">Edit &gt; Print with Preview</EM> in Photoshop 7, or <EM CLASS="LangName">Page Setup</EM> or <EM CLASS="LangName">Print Options</EM> in previous versions).Transfer Function files can also be loaded into any of Photoshop's curves dialogs, such as the Curves color adjustment dialog.<EM CLASS="Bold"></EM></P>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt"><CAPTION><H6 CLASS="TableTitle">Transfer function file types</H6></CAPTION>
<TR><TH width="74" COLSPAN="1" ROWSPAN="1"><P CLASS="CellHead">OS</P></TH><TH width="214" COLSPAN="1" ROWSPAN="1"><P CLASS="CellHead">Filetype/extension</P></TH></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Mac OS</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><EM CLASS="Code">8BTF</EM></P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Windows</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody"><EM CLASS="Code">.ATF</EM></P></TD></TR>
</TABLE>
<BR/>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt"><CAPTION><H6 CLASS="TableTitle">Transfer function file format</H6></CAPTION>
<TR><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Length</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Description</P></TH></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">2</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Version ( = 4)</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">112 (= 28*4)</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Four transfer functions , described in <A HREF="PhotoshopFileFormats.htm#50577411_15008" CLASS="XRef">See Transfer function structure</A>.</P><P CLASS="CellNote">The file always contains four functions. When writing the printer transfer functions for grayscale images, for instance, Photoshop writes four copies of the single transfer function specified in the user interface.</P></TD></TR>
</TABLE>
<BR/>
<TABLE BORDER="1" style="margin-right: auto; margin-left: 54pt"><CAPTION><H6 CLASS="TableTitle"><A NAME="50577411_15008"></A>Transfer function structure</H6></CAPTION>
<TR><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Length</P></TH><TH ROWSPAN="1" COLSPAN="1"><P CLASS="CellHead">Description</P></TH></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">26</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Curve. Array of 13 short integers from 0...1000 representing 0.0...100.0. All but the first and last value may be -1, representing no point on the curve. Any curves beyond the last plate should be equal to the <EM CLASS="Code">NULL</EM> curve. A <EM CLASS="Code">NULL</EM> transfer curve looks like this: 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1000.</P></TD></TR>
<TR><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">2</P></TD><TD ROWSPAN="1" COLSPAN="1"><P CLASS="CellBody">Boolean. 0 = Let printer supply curve; 1 = Override printer's default transfer curve.</P></TD></TR>
</TABLE>
<P CLASS="Body">&nbsp;</P>
</DIV></DIV></DIV></BODY></HTML>
